From 2a8d648ad3e1a4442a21af1fd4875896a0385a36 Mon Sep 17 00:00:00 2001 From: PaddleStroke Date: Tue, 18 Nov 2025 17:59:04 +0100 Subject: [PATCH] Assembly: Fix crash on moving unconnected parts --- src/Mod/Assembly/App/AssemblyObject.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Mod/Assembly/App/AssemblyObject.cpp b/src/Mod/Assembly/App/AssemblyObject.cpp index 5913f00232..cc8e6bdf1b 100644 --- a/src/Mod/Assembly/App/AssemblyObject.cpp +++ b/src/Mod/Assembly/App/AssemblyObject.cpp @@ -269,6 +269,11 @@ void AssemblyObject::preDrag(std::vector 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) {