X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_DFLoader.cpp;h=61e28412aab9d44a70420e17db223e8cee585566;hb=1b9dd3633d644c358424227423b330e9551be38f;hp=86c7b0a228059201fde6a5a2530aa90933fd8aab;hpb=f1cd93fd02a54259f72e3191d037323a496b2bef;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_DFLoader.cpp b/src/GeomAlgoAPI/GeomAlgoAPI_DFLoader.cpp index 86c7b0a22..61e28412a 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_DFLoader.cpp +++ b/src/GeomAlgoAPI/GeomAlgoAPI_DFLoader.cpp @@ -23,6 +23,9 @@ const TopoDS_Shape GeomAlgoAPI_DFLoader::refineResult(const TopoDS_Shape& theRe if (nbSubResults == 1) { itr.Initialize(theResult); if (itr.More()) aResult = itr.Value(); + } else { + /// MPV: store compound anyway: it may be Boolean operation that produces two solids from one + aResult = theResult; } } return aResult;