PD: Add case for when scripts set Midplane=False
This commit is contained in:
committed by
Kacper Donat
parent
24b9cdb4f9
commit
8b9048a784
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user