Merge commit '42b2e5ca519766e37ce6941ba4faecc9691cc403' into upstream
[debian/openrocket] / core / src / net / sf / openrocket / rocketcomponent / StructuralComponent.java
index a224c9e59d95d1730cb0d86ce18646a3035d9c41..b7143c68297b50e8fb882aee058b4964866efa10 100644 (file)
@@ -49,6 +49,7 @@ public abstract class StructuralComponent extends InternalComponent {
                if (mat.equals(material))
                        return;
                this.material = mat;
+               clearPreset();
                fireComponentChangeEvent(ComponentChangeEvent.MASS_CHANGE);
        }
 }