Assembly: Fix crash on moving unconnected parts

(cherry picked from commit 2a8d648ad3)
This commit is contained in:
PaddleStroke
2025-11-18 20:28:06 +01:00
committed by Max Wilfinger
parent 69498be228
commit 092ae3f8ea
+5
View File
@@ -269,6 +269,11 @@ void AssemblyObject::preDrag(std::vector<App::DocumentObject*> dragParts)
continue;
}
// Free-floating parts should not be added since they are ignored by the solver!
if (!isPartConnected(part)) {
continue;
}
// Some objects have been bundled, we don't want to add these to dragged parts
Base::Placement plc;
for (auto& pair : objectPartMap) {