git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@776
180e2498-e6e9-4542-8430-
84ac67f01cd8
\r
public void addNewSimulation() {\r
Rocket rocket = rocketDocument.getRocket();\r
\r
public void addNewSimulation() {\r
Rocket rocket = rocketDocument.getRocket();\r
- Simulation newSim = new Simulation(rocket);\r
+ // FIXME - hopefully the change to the Simulation object will be reverted soon.\r
+ Simulation newSim = new Simulation(rocketDocument, rocket);\r
newSim.setName(rocketDocument.getNextSimulationName());\r
rocketDocument.addSimulation(newSim);\r
notifySimsChanged();\r
newSim.setName(rocketDocument.getNextSimulationName());\r
rocketDocument.addSimulation(newSim);\r
notifySimsChanged();\r