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 #1063: Problem of dynamic cast on Linux for Selection validators is solved
[modules/shaper.git]
/
src
/
GeomAlgoAPI
/
GeomAlgoAPI_DFLoader.cpp
diff --git
a/src/GeomAlgoAPI/GeomAlgoAPI_DFLoader.cpp
b/src/GeomAlgoAPI/GeomAlgoAPI_DFLoader.cpp
index 86c7b0a228059201fde6a5a2530aa90933fd8aab..61e28412aab9d44a70420e17db223e8cee585566 100644
(file)
--- a/
src/GeomAlgoAPI/GeomAlgoAPI_DFLoader.cpp
+++ b/
src/GeomAlgoAPI/GeomAlgoAPI_DFLoader.cpp
@@
-23,6
+23,9
@@
const TopoDS_Shape GeomAlgoAPI_DFLoader::refineResult(const TopoDS_Shape& theRe
if (nbSubResults == 1) {
itr.Initialize(theResult);
if (itr.More()) aResult = itr.Value();
+ } else {
+ /// MPV: store compound anyway: it may be Boolean operation that produces two solids from one
+ aResult = theResult;
}
}
return aResult;