From: azv Date: Thu, 27 Sep 2018 11:58:22 +0000 (+0300) Subject: Issue #2499: Sketcher : displacement of dimension lines causes naming bug X-Git-Tag: CEA_2018-2~59 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6ae3042895b02ab4a077e9803e1cb76da25512f8;p=modules%2Fshaper.git Issue #2499: Sketcher : displacement of dimension lines causes naming bug Sort sub-shapes after Partition without taking triangulation into account --- diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_SortListOfShapes.cpp b/src/GeomAlgoAPI/GeomAlgoAPI_SortListOfShapes.cpp index 730def474..80cd5e2cc 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_SortListOfShapes.cpp +++ b/src/GeomAlgoAPI/GeomAlgoAPI_SortListOfShapes.cpp @@ -134,7 +134,7 @@ class CompareShapes std::map::iterator aFound = myShapes.find(aS); if (aFound == myShapes.end()) { Bnd_Box aBB; - BRepBndLib::AddOptimal(aShape, aBB); + BRepBndLib::AddOptimal(aShape, aBB, false); myShapes[aS] = aBB; aFound = myShapes.find(aS); }