Salome HOME
Fix for the issue #2753 : error when dump/load script
[modules/shaper.git] / 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);
     }