[Draft] get_group_contents removed App::Part
Removed App::Part from get_group_contents because it result in double movements of Part objects
This commit is contained in:
@@ -749,8 +749,7 @@ def get_group_contents(objectslist,
|
||||
for obj in objectslist:
|
||||
if obj:
|
||||
if (obj.isDerivedFrom("App::DocumentObjectGroup")
|
||||
or (getType(obj) in ("App::Part",
|
||||
"Building", "BuildingPart",
|
||||
or (getType(obj) in ("Building", "BuildingPart",
|
||||
"Space", "Site")
|
||||
and hasattr(obj, "Group"))):
|
||||
if getType(obj) == "Site":
|
||||
|
||||
Reference in New Issue
Block a user