if (this.thickness > this.outerRadius)
this.thickness = this.outerRadius;
fireComponentChangeEvent(ComponentChangeEvent.BOTH_CHANGE);
+ clearPreset();
}
autoRadius = auto;
fireComponentChangeEvent(ComponentChangeEvent.BOTH_CHANGE);
+ clearPreset();
+ }
+
+
+ @Override
+ protected void loadFromPreset(RocketComponent preset) {
+ BodyTube c = (BodyTube) preset;
+ this.setOuterRadius(c.getOuterRadius());
+
+ super.loadFromPreset(preset);
}