Rework the CustomExpression evaluation to use SimulationListeners. Removed the OpenR...
[debian/openrocket] / core / src / net / sf / openrocket / optimization / services / DefaultSimulationModifierService.java
index 84e6af622705cc13ad7b0f03d2b35b1439fc070c..cf77e3c579bd14a25ef0b69edb3f48dcd67209e6 100644 (file)
@@ -126,7 +126,7 @@ public class DefaultSimulationModifierService implements SimulationModifierServi
                Rocket rocket = document.getRocket();
                
                // Simulation is used to calculate default min/max values
-               Simulation simulation = new Simulation(document, rocket);
+               Simulation simulation = new Simulation(rocket);
                simulation.getConfiguration().setMotorConfigurationID(null);
                
                for (RocketComponent c : rocket) {