Rework the CustomExpression evaluation to use SimulationListeners. Removed the OpenR...
[debian/openrocket] / android / src / net / sf / openrocket / android / CurrentRocket.java
index f4b7861e298c47ac35b69bd7ff3860c9349104fa..36446063955e82b39a326779b03bf061e96acaa7 100644 (file)
@@ -75,8 +75,7 @@ public class CurrentRocket {
        public synchronized void addNewSimulation( Context context ) {\r
                isModified = true;\r
                Rocket rocket = rocketDocument.getRocket();\r
-               // FIXME - hopefully the change to the Simulation object will be reverted soon.\r
-               Simulation newSim = new Simulation(rocketDocument, rocket);\r
+               Simulation newSim = new Simulation(rocket);\r
                newSim.setName(rocketDocument.getNextSimulationName());\r
                rocketDocument.addSimulation(newSim);\r
                notifySimsChanged(context);\r