PD: Add case for when scripts set Midplane=False

This commit is contained in:
Chris Hennes
2025-12-25 11:27:51 -06:00
committed by Kacper Donat
parent 24b9cdb4f9
commit 8b9048a784

View File

@@ -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);
}