From f82fef44d7ab8188c6d89ba208b79549764b082e Mon Sep 17 00:00:00 2001 From: Joe Pfeiffer Date: Fri, 1 Jun 2018 09:23:05 -0600 Subject: [PATCH] Fix Configuration name in motor configuration panel. Formerly just used delay value directly, resulting in huge delay for plugged motors; now uses motor.getDesignation so it translates to "P" as expected. Changed name of toMotorDesription method to toMotorDesignation to match usage of getDesignation() in ThrustCurveMotor.java Changed toMotorDesignation to use motor.getDesignation --- core/src/net/sf/openrocket/motor/MotorConfiguration.java | 8 ++++---- .../net/sf/openrocket/motor/MotorConfigurationSet.java | 2 +- .../openrocket/rocketcomponent/FlightConfiguration.java | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/core/src/net/sf/openrocket/motor/MotorConfiguration.java b/core/src/net/sf/openrocket/motor/MotorConfiguration.java index c7c12b11e..4920a9421 100644 --- a/core/src/net/sf/openrocket/motor/MotorConfiguration.java +++ b/core/src/net/sf/openrocket/motor/MotorConfiguration.java @@ -62,11 +62,11 @@ public class MotorConfiguration implements FlightConfigurableParameter