Allow geometry from other bodies in the same par as external geometry for sketches

This commit is contained in:
jrheinlaender
2013-07-03 11:51:27 +02:00
committed by Stefan Tröger
parent f26ca75e50
commit 9e7b463113
4 changed files with 14 additions and 8 deletions

View File

@@ -4481,7 +4481,7 @@ namespace SketcherGui {
pObj->getTypeId().isDerivedFrom(Part::Datum::getClassTypeId()))
return true;
if (pObj != support)
if (!sketch->allowOtherBody && (pObj != support))
return false;
if (!sSubName || sSubName[0] == '\0')
return false;