Wrote possible fix for issue #50 (Composite command tries to remove non-existent element)

This commit is contained in:
Connor Taylor-Brown
2017-09-12 11:46:57 +12:00
parent d90b161d01
commit b902b05e5e
2 changed files with 9 additions and 4 deletions
@@ -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));