From e994dc72300bee94823249d7286910a2aefdcc5c Mon Sep 17 00:00:00 2001 From: SiboVG Date: Tue, 13 Dec 2022 23:57:19 +0100 Subject: [PATCH] Copy stage activeness after config clone/copy --- .../rocketcomponent/FlightConfiguration.java | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/core/src/net/sf/openrocket/rocketcomponent/FlightConfiguration.java b/core/src/net/sf/openrocket/rocketcomponent/FlightConfiguration.java index b01aeb23e..ec1546236 100644 --- a/core/src/net/sf/openrocket/rocketcomponent/FlightConfiguration.java +++ b/core/src/net/sf/openrocket/rocketcomponent/FlightConfiguration.java @@ -136,6 +136,21 @@ public class FlightConfiguration implements FlightConfigurableParameter(this.preloadStageActiveness); clone.cachedBoundsAerodynamic = this.cachedBoundsAerodynamic.clone(); @@ -851,7 +867,7 @@ public class FlightConfiguration implements FlightConfigurableParameter(this.preloadStageActiveness); copy.cachedBoundsAerodynamic = this.cachedBoundsAerodynamic.clone(); copy.cachedBounds = this.cachedBounds.clone();