Salome HOME
Fix compilation error
[modules/shaper.git] / src / CollectionPlugin / CollectionPlugin_GroupIntersection.cpp
index e74ba47861d7bf53013fc850c8ac447dae46634a..55f5200b579c736f2d2ed68e8672c00125948c9b 100644 (file)
@@ -96,6 +96,9 @@ void CollectionPlugin_GroupIntersection::execute()
     removeResults(0);
   }
   else {
+    // update the type of selection
+    updateGroupType(LIST_ID());
+
     GeomShapePtr aCompound = GeomAlgoAPI_CompoundBuilder::compound(aCommon);
     aGroup->store(aCompound);
     setResult(aGroup);