Assembly: Fix crash on moving unconnected parts
This commit is contained in:
committed by
Chris Hennes
parent
b2a1e2a6e1
commit
2a8d648ad3
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user