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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user