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() {
|
public void addNewSimulation() {
|
||||||
Rocket rocket = rocketDocument.getRocket();
|
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());
|
newSim.setName(rocketDocument.getNextSimulationName());
|
||||||
rocketDocument.addSimulation(newSim);
|
rocketDocument.addSimulation(newSim);
|
||||||
notifySimsChanged();
|
notifySimsChanged();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user