From 5eb298ddcdfb0fe708c1ccd5700486eb3662964b Mon Sep 17 00:00:00 2001 From: "Zheng, Lei" Date: Mon, 9 Mar 2020 15:21:51 +0800 Subject: [PATCH] PartDesign: fix SubShapeBinder solids fuse --- src/Mod/PartDesign/App/ShapeBinder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/PartDesign/App/ShapeBinder.cpp b/src/Mod/PartDesign/App/ShapeBinder.cpp index e49164f7bf..1fec0b1c89 100644 --- a/src/Mod/PartDesign/App/ShapeBinder.cpp +++ b/src/Mod/PartDesign/App/ShapeBinder.cpp @@ -521,7 +521,7 @@ void SubShapeBinder::update(SubShapeBinder::UpdateOption options) { std::vector solids; Part::TopoShape solid; for(auto &s : result.getSubTopoShapes(TopAbs_SOLID)) { - if(!solid.isNull()) + if(solid.isNull()) solid = s; else solids.push_back(s.getShape());