Show: more general Body detection

Doesn't affect anything in master functionality, but is required for my
custom branch where there is another kind of body.
This commit is contained in:
DeepSOIC
2016-10-01 23:31:21 +03:00
committed by wmayer
parent 316210fe0f
commit 65a935f9ae

View File

@@ -74,7 +74,7 @@ def isContainer(obj):
if obj.isDerivedFrom("App::DocumentObjectGroup"):
return True
if obj.isDerivedFrom("PartDesign::Body"):
if obj.isDerivedFrom("Part::BodyBase"):
return True
if obj.isDerivedFrom("App::Origin"):
return True