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());