Okay that didn't work...
This commit is contained in:
parent
1123a5d4ea
commit
ac663eb1c3
@ -282,9 +282,7 @@ public class RocketFigure extends AbstractScaleFigure {
|
|||||||
Color borderColor = ((SwingPreferences)Application.getPreferences()).getMotorBorderColor();
|
Color borderColor = ((SwingPreferences)Application.getPreferences()).getMotorBorderColor();
|
||||||
|
|
||||||
FlightConfiguration config = rocket.getSelectedConfiguration();
|
FlightConfiguration config = rocket.getSelectedConfiguration();
|
||||||
Iterator<MotorConfiguration> itr = config.getActiveMotors().iterator();
|
for (MotorConfiguration curInstance : config.getActiveMotors()) {
|
||||||
while (itr.hasNext()) {
|
|
||||||
MotorConfiguration curInstance = itr.next();
|
|
||||||
MotorMount mount = curInstance.getMount();
|
MotorMount mount = curInstance.getMount();
|
||||||
Motor motor = curInstance.getMotor();
|
Motor motor = curInstance.getMotor();
|
||||||
double motorLength = motor.getLength();
|
double motorLength = motor.getLength();
|
||||||
@ -381,9 +379,7 @@ public class RocketFigure extends AbstractScaleFigure {
|
|||||||
// allShapes is an output buffer -- it stores all the generated shapes
|
// allShapes is an output buffer -- it stores all the generated shapes
|
||||||
allShapes.clear();
|
allShapes.clear();
|
||||||
|
|
||||||
Iterator<Entry<RocketComponent, ArrayList<InstanceContext>>> itr = config.getActiveInstances().entrySet().iterator();
|
for (Entry<RocketComponent, ArrayList<InstanceContext>> entry : config.getActiveInstances().entrySet()) {
|
||||||
while (itr.hasNext()) {
|
|
||||||
Entry<RocketComponent, ArrayList<InstanceContext>> entry = itr.next();
|
|
||||||
final RocketComponent comp = entry.getKey();
|
final RocketComponent comp = entry.getKey();
|
||||||
|
|
||||||
// Only draw podsets when they are selected
|
// Only draw podsets when they are selected
|
||||||
|
Loading…
x
Reference in New Issue
Block a user