Salome HOME
PAL10902 - local selection is stay in viewer after "apply" of Modifiction->Orientatio...
authorasl <asl@opencascade.com>
Wed, 14 Dec 2005 07:11:48 +0000 (07:11 +0000)
committerasl <asl@opencascade.com>
Wed, 14 Dec 2005 07:11:48 +0000 (07:11 +0000)
src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx

index be64038..6a70e8d 100755 (executable)
@@ -942,7 +942,10 @@ bool SMESHGUI_MultiEditDlg::onApply()
   bool aResult = process(aMeshEditor, anIds.inout());
   if (aResult) {
     if (myActor) {
-      //mySelectionMgr->clearSelected();
+      SALOME_ListIO sel;
+      mySelectionMgr->selectedObjects( sel );
+      mySelector->ClearIndex();
+      mySelectionMgr->setSelectedObjects( sel );
       SMESH::UpdateView();
     }