[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:
carlopav
2020-01-09 14:45:58 +01:00
parent 140c2ea17c
commit d7a13d1a97

View File

@@ -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":