Salome HOME
Additional fix for the "0022460: [CEA 1042] Copy Mesh: impossible mesh selection...
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_RevolutionDlg.cxx
index a70f3e02c0ab8826cec1bd32080552b3472b4b6c..c5b53fb44a3a2fd2c384076032b54817ceb1847b 100644 (file)
@@ -712,8 +712,8 @@ void SMESHGUI_RevolutionDlg::SelectionIntoArgument()
     return;
 
   // get selected mesh
-  const SALOME_ListIO& aList = mySelector->StoredIObjects();
-
+  SALOME_ListIO aList;
+  mySelectionMgr->selectedObjects(aList);
   int nbSel = aList.Extent();
   if (nbSel != 1) 
     return;