PartDesign: fix SubShapeBinder solids fuse

This commit is contained in:
Zheng, Lei
2020-03-09 15:21:51 +08:00
committed by wwmayer
parent 3366a245f5
commit 5eb298ddcd

View File

@@ -521,7 +521,7 @@ void SubShapeBinder::update(SubShapeBinder::UpdateOption options) {
std::vector<TopoDS_Shape> 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());