Commit 6d32dde2 authored by Philip A Levis's avatar Philip A Levis
Browse files

Apply suggestion to software/ui/src/Model.java

parent 8c6f30ec
......@@ -150,7 +150,7 @@ class FlightModel extends LXModel implements Flight {
public List<LightSamplePointModel> getAllWingsLights() {
return IntStream
.range(0, lightPoints.length)
.filter(i -> (i % NUM_LIGHT_POINTS_PER_FLYER == 0))
.filter(i -> (i % NUM_LIGHT_POINTS_PER_FLYER != LightSamplePoint.LightCorners.BODY.position))
.mapToObj(i -> lightPoints[i])
.collect(Collectors.toList());
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment