From 0dc7c306fe7d096cf28820f49a47724b3f64e978 Mon Sep 17 00:00:00 2001 From: SiboVG Date: Sat, 5 Mar 2022 16:41:00 +0100 Subject: [PATCH] [#1204] Remove inertia update in calculateMotors --- core/src/net/sf/openrocket/masscalc/MassCalculation.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/src/net/sf/openrocket/masscalc/MassCalculation.java b/core/src/net/sf/openrocket/masscalc/MassCalculation.java index 3e985ec1d..0be41295e 100644 --- a/core/src/net/sf/openrocket/masscalc/MassCalculation.java +++ b/core/src/net/sf/openrocket/masscalc/MassCalculation.java @@ -495,11 +495,6 @@ public class MassCalculation { entry.updateAverageCM(compCM); } } - - final double compIx = component.getRotationalUnitInertia() * compCM.weight; - final double compIt = component.getLongitudinalUnitInertia() * compCM.weight; - final RigidBody componentInertia = new RigidBody(compCM, compIx, compIt, compIt); - this.addInertia(componentInertia); }