Don't display component assemblies other than entire rocket

This commit is contained in:
JoePfeiffer 2022-11-07 15:26:03 -07:00
parent 3f73f694e2
commit 2a9b87fe7e

View File

@ -548,6 +548,10 @@ public class ComponentAnalysisDialog extends JDialog implements StateChangeListe
continue;
}
if ((comp instanceof ComponentAssembly) && !(comp instanceof Rocket)){
continue;
}
String name = cmEntry.name;
if (cmEntry.source instanceof Rocket) {
name = trans.get("componentanalysisdlg.TOTAL");