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 8f1929d9c2
commit 679bb2f5a8

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