Assembly: Fix crash on moving unconnected parts

This commit is contained in:
PaddleStroke
2025-11-18 17:59:04 +01:00
committed by Chris Hennes
parent b2a1e2a6e1
commit 2a8d648ad3

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) {