PartDesign: fix Polar and Mirror accepting Datum

This commit is contained in:
Sergo
2016-09-30 11:09:00 -03:00
committed by Yorik van Havre
parent 8459cdad5a
commit 8b7b720beb
3 changed files with 8 additions and 3 deletions
+2 -1
View File
@@ -229,7 +229,8 @@ bool Body::isSolidFeature(const App::DocumentObject* f)
if (f == NULL)
return false;
if (f->getTypeId().isDerivedFrom(PartDesign::Feature::getClassTypeId())) {
if (f->getTypeId().isDerivedFrom(PartDesign::Feature::getClassTypeId()) &&
!PartDesign::Feature::isDatum(f)) {
// Transformed Features inside a MultiTransform are not solid features
return !isMemberOfMultiTransform(f);
}