Allow creating a datum plane tangential to a cylinder and parallel to another plane
This commit is contained in:
committed by
Stefan Tröger
parent
a0ec4752d9
commit
34acc5f8b4
@@ -58,6 +58,8 @@ bool ReferenceSelection::allow(App::Document* pDoc, App::DocumentObject* pObj, c
|
||||
|
||||
if (pObj->getTypeId().isDerivedFrom(Part::Datum::getClassTypeId())) {
|
||||
// Allow selecting Part::Datum features from the active Body
|
||||
if (ActivePartObject == NULL)
|
||||
return false;
|
||||
if (!ActivePartObject->hasFeature(pObj))
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user