git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@543
180e2498-e6e9-4542-8430-
84ac67f01cd8
@Override
protected void loadFromPreset(ComponentPreset preset) {
if ( preset.has(ComponentPreset.THICKNESS) ) {
- this.setThickness(preset.get(ComponentPreset.THICKNESS));
+ this.thickness = preset.get(ComponentPreset.THICKNESS);
+ this.filled = false;
}
if ( preset.has(ComponentPreset.FILLED)) {
- // FIXME - this doesn't seem to work for nose cones.
- this.setFilled(preset.get(ComponentPreset.FILLED));
+ this.filled = true;
}
super.loadFromPreset(preset);