Salome HOME
projects
/
modules
/
shaper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a93eca5
)
Fix for the porting to new OCCT 7.4.0 : unit test TestBooleanCommon_SolidsHistory
author
mpv
<mpv@opencascade.com>
Thu, 5 Mar 2020 08:00:12 +0000
(11:00 +0300)
committer
mpv
<mpv@opencascade.com>
Thu, 5 Mar 2020 08:00:12 +0000
(11:00 +0300)
src/FeaturesPlugin/FeaturesPlugin_Tools.cpp
patch
|
blob
|
history
diff --git
a/src/FeaturesPlugin/FeaturesPlugin_Tools.cpp
b/src/FeaturesPlugin/FeaturesPlugin_Tools.cpp
index f77919fe18797493d3e2d4416a1cfa8071233d04..ea354876b20c63a27736715113dc4c9523e0eaae 100644
(file)
--- a/
src/FeaturesPlugin/FeaturesPlugin_Tools.cpp
+++ b/
src/FeaturesPlugin/FeaturesPlugin_Tools.cpp
@@
-120,6
+120,13
@@
void FeaturesPlugin_Tools::loadDeletedShapes(ResultBodyPtr theResultBody,
*anIter,
GeomAPI_Shape::FACE,
theResultShapesCompound);
+ // store information about deleted solids because of unittest TestBooleanCommon_SolidsHistory
+ // on OCCT 7.4.0 : common produces modified compsolid, so, move to the end for removed solids
+ // starts to produce whole compsolid
+ theResultBody->loadDeletedShapes(theMakeShape,
+ *anIter,
+ GeomAPI_Shape::SOLID,
+ theResultShapesCompound);
}
}