diff --git a/swing/src/net/sf/openrocket/gui/figure3d/photo/PhotoPanel.java b/swing/src/net/sf/openrocket/gui/figure3d/photo/PhotoPanel.java index 2a7ad567d..4e9c4d34f 100644 --- a/swing/src/net/sf/openrocket/gui/figure3d/photo/PhotoPanel.java +++ b/swing/src/net/sf/openrocket/gui/figure3d/photo/PhotoPanel.java @@ -422,7 +422,7 @@ public class PhotoPanel extends JPanel implements GLEventListener { AxialStage bottomStage = configuration.getBottomStage(); int bottomStageNumber = 0; if (bottomStage != null) - bottomStage.getStageNumber(); + bottomStageNumber = bottomStage.getStageNumber(); //final int currentStageNumber = configuration.getActiveStages()[configuration.getActiveStages().length-1]; //final AxialStage currentStage = (AxialStage)configuration.getRocket().getChild( bottomStageNumber);