Wrote possible fix for issue #50 (Composite command tries to remove non-existent element)
This commit is contained in:
@@ -246,6 +246,11 @@ public class RaceController extends Controller {
|
||||
}
|
||||
};
|
||||
trackBoat.start();
|
||||
|
||||
System.out.println(boat.getCurrentLeg().getEndCompoundMark().toString());
|
||||
boat.legProperty().addListener((o, prev, curr) -> {
|
||||
System.out.println(curr.getEndCompoundMark().toString());
|
||||
});
|
||||
}
|
||||
// Fix initial bird's-eye position
|
||||
view3D.updatePivot(new Translate(250, 0, 210));
|
||||
|
||||
Reference in New Issue
Block a user