Fix set launch rod length & launch into wind not triggering change event

This commit is contained in:
SiboVG 2023-03-30 11:44:00 +02:00
parent 8cfc093433
commit 26f6473446

View File

@ -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() {