From 6ae3042895b02ab4a077e9803e1cb76da25512f8 Mon Sep 17 00:00:00 2001 From: azv Date: Thu, 27 Sep 2018 14:58:22 +0300 Subject: [PATCH] Issue #2499: Sketcher : displacement of dimension lines causes naming bug Sort sub-shapes after Partition without taking triangulation into account --- src/GeomAlgoAPI/GeomAlgoAPI_SortListOfShapes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.2