Fix set launch rod length & launch into wind not triggering change event
This commit is contained in:
parent
8cfc093433
commit
26f6473446
@ -96,6 +96,7 @@ public class SimulationOptions implements ChangeSource, Cloneable {
|
||||
if (MathUtil.equals(this.launchRodLength, launchRodLength))
|
||||
return;
|
||||
this.launchRodLength = launchRodLength;
|
||||
fireChangeEvent();
|
||||
}
|
||||
|
||||
|
||||
@ -104,7 +105,10 @@ public class SimulationOptions implements ChangeSource, Cloneable {
|
||||
}
|
||||
|
||||
public void setLaunchIntoWind(boolean i) {
|
||||
if (launchIntoWind == i)
|
||||
return;
|
||||
launchIntoWind = i;
|
||||
fireChangeEvent();
|
||||
}
|
||||
|
||||
public double getLaunchRodAngle() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user