]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #2499: Sketcher : displacement of dimension lines causes naming bug
authorazv <azv@opencascade.com>
Thu, 27 Sep 2018 11:58:22 +0000 (14:58 +0300)
committerazv <azv@opencascade.com>
Fri, 28 Sep 2018 06:59:17 +0000 (09:59 +0300)
Sort sub-shapes after Partition without taking triangulation into account

src/GeomAlgoAPI/GeomAlgoAPI_SortListOfShapes.cpp

index 730def474410d2313c78a2cca5b9124e70935659..80cd5e2cce57bdb496a967c5ce168f151e3655fd 100644 (file)
@@ -134,7 +134,7 @@ class CompareShapes
     std::map<TopoDS_TShape*, Bnd_Box>::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);
     }