Don't create new SimulationStatus on landing.
Makes consistent with BasicLandingStepper; more generally, if you don't need a more specialized derived from SimulationStatus (as is the case with RK4SimulationStepper), you don't need to create a new SimulationStatus when entering a new flight phase.
This commit is contained in:
parent
917503149c
commit
23c39d5aef
@ -12,10 +12,8 @@ public class GroundStepper extends AbstractSimulationStepper {
|
||||
private static final Logger log = LoggerFactory.getLogger(GroundStepper.class);
|
||||
|
||||
@Override
|
||||
public SimulationStatus initialize(SimulationStatus original) {
|
||||
public SimulationStatus initialize(SimulationStatus status) {
|
||||
log.trace("initializing GroundStepper");
|
||||
SimulationStatus status = new SimulationStatus(original);
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user