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 #2977: Impossible to select Group in Substract group
[modules/shaper.git]
/
src
/
CollectionPlugin
/
CollectionPlugin_GroupSubstraction.cpp
diff --git
a/src/CollectionPlugin/CollectionPlugin_GroupSubstraction.cpp
b/src/CollectionPlugin/CollectionPlugin_GroupSubstraction.cpp
index 18f0acad5f5e1ac63a8ad231f56059fd9fb0bcf2..9d39711ae52442c9ca2c1c2dc6233f60335210e8 100644
(file)
--- a/
src/CollectionPlugin/CollectionPlugin_GroupSubstraction.cpp
+++ b/
src/CollectionPlugin/CollectionPlugin_GroupSubstraction.cpp
@@
-101,6
+101,9
@@
void CollectionPlugin_GroupSubstraction::execute()
removeResults(0);
}
else {
+ // update the type of selection
+ updateGroupType(LIST_ID());
+
GeomShapePtr aCompound = GeomAlgoAPI_CompoundBuilder::compound(aCut);
aGroup->store(aCompound);
setResult(aGroup);