Changed due to Simulation api change.
This commit is contained in:
parent
1f0bcf6730
commit
8b66af7441
@ -38,7 +38,8 @@ public class CurrentRocket {
|
||||
|
||||
public void addNewSimulation() {
|
||||
Rocket rocket = rocketDocument.getRocket();
|
||||
Simulation newSim = new Simulation(rocket);
|
||||
// FIXME - hopefully the change to the Simulation object will be reverted soon.
|
||||
Simulation newSim = new Simulation(rocketDocument, rocket);
|
||||
newSim.setName(rocketDocument.getNextSimulationName());
|
||||
rocketDocument.addSimulation(newSim);
|
||||
notifySimsChanged();
|
||||
|
Loading…
x
Reference in New Issue
Block a user