From 853bd8b1e9ef53183efa2512c7e257985aa391fe Mon Sep 17 00:00:00 2001 From: hcraigmiller <68821492+hcraigmiller@users.noreply.github.com> Date: Tue, 24 May 2022 18:23:39 -0700 Subject: [PATCH] Additional suggested changes Additional suggested changes. --- core/src/net/sf/openrocket/rocketcomponent/Parachute.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/net/sf/openrocket/rocketcomponent/Parachute.java b/core/src/net/sf/openrocket/rocketcomponent/Parachute.java index 7a58fcdba..28174f894 100644 --- a/core/src/net/sf/openrocket/rocketcomponent/Parachute.java +++ b/core/src/net/sf/openrocket/rocketcomponent/Parachute.java @@ -17,13 +17,14 @@ public class Parachute extends RecoveryDevice { private final int DEFAULT_LINE_COUNT = 6; private int lineCount; private final double DEFAULT_LINE_LENGTH = 0.3; - private double lineLength = DEFAULT_LINE_LENGTH; + private double lineLength; private final double InitialPackedLength = this.length; private final double InitialPackedRadius = this.radius; public Parachute() { this.diameter = DEFAULT_DIAMETER; lineCount = DEFAULT_LINE_COUNT; + lineLength = DEFAULT_LINE_LENGTH; this.lineMaterial = Application.getPreferences().getDefaultComponentMaterial(Parachute.class, Material.Type.LINE); DEFAULT_LINE_MATERIAL = lineMaterial; super.displayOrder_side = 11; // Order for displaying the component in the 2D side view