Fix 3d rendering issues with AxialStage and ParallelStage. Renamed

example to get rid of underscores.
This commit is contained in:
Kevin Ruland 2016-10-26 18:39:10 -05:00
parent 25a249ee27
commit 10bd864ef6
2 changed files with 4 additions and 0 deletions

View File

@ -12,10 +12,12 @@ import org.slf4j.LoggerFactory;
import net.sf.openrocket.gui.figure3d.geometry.Geometry.Surface;
import net.sf.openrocket.motor.Motor;
import net.sf.openrocket.rocketcomponent.AxialStage;
import net.sf.openrocket.rocketcomponent.BodyTube;
import net.sf.openrocket.rocketcomponent.FinSet;
import net.sf.openrocket.rocketcomponent.LaunchLug;
import net.sf.openrocket.rocketcomponent.MassObject;
import net.sf.openrocket.rocketcomponent.ParallelStage;
import net.sf.openrocket.rocketcomponent.RailButton;
import net.sf.openrocket.rocketcomponent.RingComponent;
import net.sf.openrocket.rocketcomponent.RocketComponent;
@ -108,6 +110,8 @@ public class ComponentRenderer {
fr.renderFinSet(gl, (FinSet) c);
} else if (c instanceof TubeFinSet) {
renderTubeFins( gl, (TubeFinSet) c, which);
} else if ( c instanceof AxialStage ) {
} else if ( c instanceof ParallelStage ) {
} else {
renderOther(gl, c);
}