[#1231] Include non-aerodynamic components in bounding box calculations
This commit is contained in:
parent
72847b96eb
commit
34b5729693
@ -601,12 +601,6 @@ public class FlightConfiguration implements FlightConfigurableParameter<FlightCo
|
|||||||
final RocketComponent component = entry.getKey();
|
final RocketComponent component = entry.getKey();
|
||||||
final BoundingBox componentBounds = new BoundingBox();
|
final BoundingBox componentBounds = new BoundingBox();
|
||||||
final List<InstanceContext> contexts = entry.getValue();
|
final List<InstanceContext> contexts = entry.getValue();
|
||||||
|
|
||||||
if( ! component.isAerodynamic()){
|
|
||||||
// System.err.println(" << non-aerodynamic");
|
|
||||||
// all non-aerodynamic components should be surrounded by aerodynamic ones
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
// FinSets already provide a bounding box, so let's use that.
|
// FinSets already provide a bounding box, so let's use that.
|
||||||
if (component instanceof BoxBounded) {
|
if (component instanceof BoxBounded) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user