Allow creating a datum plane tangential to a cylinder and parallel to another plane

This commit is contained in:
jrheinlaender
2013-06-19 12:23:18 +02:00
committed by Stefan Tröger
parent a0ec4752d9
commit 34acc5f8b4
4 changed files with 79 additions and 28 deletions

View File

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