Salome HOME
Issue #2811: Update content of Object node on creation moment
[modules/shaper.git] / src / Selector / Selector_Modify.cpp
index e17ae2d338a98c9219a6c17a8fbcbf5e575dd06b..5ac20366add5f40cae96261222b68d69f2c3983a 100644 (file)
@@ -187,6 +187,10 @@ bool Selector_Modify::select(NCollection_List<Handle(TNaming_NamedShape)>& theMo
       } else if (aCommon.Extent() == 1) {
         return true; // simple modification
       }
+      // weak naming between the common results
+      Selector_NExplode aNexp(aCommon);
+      myWeakIndex = aNexp.index(theValue);
+      return myWeakIndex != -1;
     }
     // weak naming case
     TopoDS_ListOfShape aCommon;