Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Issue #2394: Incorrect selected subsolids in "union" after modifying the geometry...
[modules/shaper.git]
/
src
/
GeomAlgoAPI
/
GeomAlgoAPI_SortListOfShapes.cpp
diff --git
a/src/GeomAlgoAPI/GeomAlgoAPI_SortListOfShapes.cpp
b/src/GeomAlgoAPI/GeomAlgoAPI_SortListOfShapes.cpp
index f75b9ae655b0f99e7b2de0b262ade575de0ed365..a6d04aabfd57644a764b269a2e16db52417ed966 100644
(file)
--- a/
src/GeomAlgoAPI/GeomAlgoAPI_SortListOfShapes.cpp
+++ b/
src/GeomAlgoAPI/GeomAlgoAPI_SortListOfShapes.cpp
@@
-133,7
+133,7
@@
class CompareShapes
std::map<TopoDS_TShape*, Bnd_Box>::iterator aFound = myShapes.find(aS);
if (aFound == myShapes.end()) {
Bnd_Box aBB;
- BRepBndLib::Add(aShape, aBB);
+ BRepBndLib::Add
Optimal
(aShape, aBB);
myShapes[aS] = aBB;
aFound = myShapes.find(aS);
}