PD: Add case for when scripts set Midplane=False

(cherry picked from commit 8b9048a784)
This commit is contained in:
Chris Hennes
2025-12-29 20:05:28 +01:00
committed by Max Wilfinger
parent 7168aba55d
commit 2d3917c62f
@@ -145,6 +145,11 @@ void FeatureExtrude::onChanged(const App::Property* prop)
if (Midplane.getValue()) {
SideType.setValue("Symmetric");
}
else {
Base::Console()
.warning("Deprecated Midplane property was explicitly set to False: assuming SideType='One side'\n");
SideType.setValue("One side");
}
}
ProfileBased::onChanged(prop);
}