Merge pull request #3 from teyrana/fix-reflection
[fix] fixed deprecated method reflection references.
This commit is contained in:
commit
724c41e2d3
@ -215,7 +215,7 @@ public class DefaultSimulationModifierService implements SimulationModifierServi
|
||||
trans.get("optimization.modifier.internalcomponent.position"),
|
||||
trans.get("optimization.modifier.internalcomponent.position.desc"),
|
||||
c, UnitGroup.UNITS_LENGTH,
|
||||
1.0, c.getClass(), c.getID(), "PositionValue");
|
||||
1.0, c.getClass(), c.getID(), "RelativePosition");
|
||||
mod.setMinValue(0);
|
||||
mod.setMaxValue(parent.getLength());
|
||||
modifiers.add(mod);
|
||||
@ -229,7 +229,7 @@ public class DefaultSimulationModifierService implements SimulationModifierServi
|
||||
trans.get("optimization.modifier.finset.position"),
|
||||
trans.get("optimization.modifier.finset.position.desc"),
|
||||
c, UnitGroup.UNITS_LENGTH,
|
||||
1.0, c.getClass(), c.getID(), "PositionValue");
|
||||
1.0, c.getClass(), c.getID(), "RelativePosition");
|
||||
mod.setMinValue(0);
|
||||
mod.setMaxValue(parent.getLength());
|
||||
modifiers.add(mod);
|
||||
@ -243,7 +243,7 @@ public class DefaultSimulationModifierService implements SimulationModifierServi
|
||||
trans.get("optimization.modifier.launchlug.position"),
|
||||
trans.get("optimization.modifier.launchlug.position.desc"),
|
||||
c, UnitGroup.UNITS_LENGTH,
|
||||
1.0, c.getClass(), c.getID(), "PositionValue");
|
||||
1.0, c.getClass(), c.getID(), "RelativePosition");
|
||||
mod.setMinValue(0);
|
||||
mod.setMaxValue(parent.getLength());
|
||||
modifiers.add(mod);
|
||||
|
@ -82,7 +82,7 @@ public class ScaleDialog extends JDialog {
|
||||
List<Scaler> list;
|
||||
|
||||
// RocketComponent
|
||||
addScaler(RocketComponent.class, "PositionValue");
|
||||
addScaler(RocketComponent.class, "RelativePosition");
|
||||
SCALERS.get(RocketComponent.class).add(new OverrideScaler());
|
||||
|
||||
// BodyComponent
|
||||
|
Loading…
x
Reference in New Issue
Block a user