PartDesign: fix Polar and Mirror accepting Datum
This commit is contained in:
@@ -190,7 +190,9 @@ void TaskMirroredParameters::onSelectionChanged(const Gui::SelectionChanges& msg
|
||||
if(!selObj)
|
||||
return;
|
||||
// Note: ReferenceSelection has already checked the selection for validity
|
||||
if ( selectionMode == reference || selObj->isDerivedFrom ( App::Plane::getClassTypeId () ) ) {
|
||||
if ( selectionMode == reference ||
|
||||
selObj->isDerivedFrom ( App::Plane::getClassTypeId () ) ||
|
||||
selObj->isDerivedFrom(PartDesign::Plane::getClassTypeId())) {
|
||||
pcMirrored->MirrorPlane.setValue(selObj, mirrorPlanes);
|
||||
|
||||
recomputeFeature();
|
||||
|
||||
Reference in New Issue
Block a user