Redo getActiveComponents
This commit is contained in:
parent
d2b13c6714
commit
297123a7f2
@ -70,7 +70,7 @@ public class RollControlListener extends AbstractSimulationListener {
|
|||||||
|
|
||||||
// Find the fin set named CONTROL
|
// Find the fin set named CONTROL
|
||||||
FinSet finset = null;
|
FinSet finset = null;
|
||||||
for (RocketComponent c : status.getConfiguration().getAllComponents()) {
|
for (RocketComponent c : status.getConfiguration().getActiveComponents()) {
|
||||||
if ((c instanceof FinSet) && (c.getName().equals(CONTROL_FIN_NAME))) {
|
if ((c instanceof FinSet) && (c.getName().equals(CONTROL_FIN_NAME))) {
|
||||||
finset = (FinSet) c;
|
finset = (FinSet) c;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user