Assembly: Fix objects in group would not have the dragger appear when selected.

This commit is contained in:
PaddleStroke
2024-08-12 11:49:12 -04:00
committed by Chris Hennes
parent 39c4e2e600
commit 49fa67266f
2 changed files with 7 additions and 0 deletions
+4
View File
@@ -2291,6 +2291,10 @@ App::DocumentObject* AssemblyObject::getMovingPartFromRef(App::DocumentObject* o
continue;
}
if (obj->isDerivedFrom<App::DocumentObjectGroup>()) {
continue; // we ignore groups.
}
return obj;
}
+3
View File
@@ -1107,6 +1107,9 @@ def getMovingPart(assembly, ref):
if not obj:
continue
if obj.TypeId == "App::DocumentObjectGroup":
continue # we ignore groups.
return obj
return None