Fix for the "0022460: [CEA 1042] Copy Mesh: impossible mesh selection in the object browser if selection in 3D view is disabled"

This commit is contained in:
rnv 2014-01-24 08:37:57 +00:00
parent f202478154
commit 6a9d0d6ae6

View File

@ -477,7 +477,7 @@ void SMESHGUI_CopyMeshDlg::SelectionIntoArgument()
// get selected mesh // get selected mesh
SALOME_ListIO aList; SALOME_ListIO aList;
mySelectionMgr->selectedObjects(aList,SVTK_Viewer::Type()); mySelectionMgr->selectedObjects(aList);
int nbSel = aList.Extent(); int nbSel = aList.Extent();
if (nbSel != 1) if (nbSel != 1)
return; return;