diff --git a/swing/src/net/sf/openrocket/gui/scalefigure/RocketFigure.java b/swing/src/net/sf/openrocket/gui/scalefigure/RocketFigure.java index ed4f794b8..60f011d9a 100644 --- a/swing/src/net/sf/openrocket/gui/scalefigure/RocketFigure.java +++ b/swing/src/net/sf/openrocket/gui/scalefigure/RocketFigure.java @@ -380,6 +380,21 @@ public class RocketFigure extends AbstractScaleFigure { for(Entry> entry: config.getActiveInstances().entrySet() ) { final RocketComponent comp = entry.getKey(); + + // Only draw podsets when they are selected + if (comp instanceof PodSet) { + boolean selected = false; + + // Check if component is in the selection + for (int j = 0; j < selection.length; j++) { + if (comp == selection[j]) { + selected = true; + break; + } + } + + if (!selected) continue; + } final ArrayList contextList = entry.getValue();