mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-11 16:19:16 +05:00
Additional fix for the "0022460: [CEA 1042] Copy Mesh: impossible mesh selection in the object browser if selection in 3D view is disabled" issue.
This commit is contained in:
parent
6a9d0d6ae6
commit
b737ae98e6
@ -947,7 +947,7 @@ void SMESHGUI_AddQuadraticElementDlg::SelectionIntoArgument()
|
||||
|
||||
// get selected mesh
|
||||
SALOME_ListIO aList;
|
||||
mySelectionMgr->selectedObjects(aList,SVTK_Viewer::Type());
|
||||
mySelectionMgr->selectedObjects(aList);
|
||||
|
||||
if (aList.Extent() != 1)
|
||||
{
|
||||
|
@ -823,7 +823,7 @@ void SMESHGUI_ExtrusionDlg::SelectionIntoArgument()
|
||||
}
|
||||
// get selected mesh
|
||||
SALOME_ListIO aList;
|
||||
mySelectionMgr->selectedObjects(aList, SVTK_Viewer::Type());
|
||||
mySelectionMgr->selectedObjects(aList);
|
||||
int nbSel = SMESH::GetNameOfSelectedIObjects(mySelectionMgr, aString);
|
||||
if (nbSel != 1)
|
||||
return;
|
||||
|
@ -364,7 +364,7 @@ void SMESHGUI_RemoveNodesDlg::SelectionIntoArgument()
|
||||
|
||||
// get selected mesh
|
||||
SALOME_ListIO aList;
|
||||
mySelectionMgr->selectedObjects(aList,SVTK_Viewer::Type());
|
||||
mySelectionMgr->selectedObjects(aList);
|
||||
|
||||
int nbSel = aList.Extent();
|
||||
if (nbSel == 1) {
|
||||
|
@ -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;
|
||||
|
@ -664,7 +664,7 @@ void SMESHGUI_RotationDlg::SelectionIntoArgument()
|
||||
|
||||
// get selected mesh
|
||||
SALOME_ListIO aList;
|
||||
mySelectionMgr->selectedObjects(aList,SVTK_Viewer::Type());
|
||||
mySelectionMgr->selectedObjects(aList);
|
||||
|
||||
int nbSel = aList.Extent();
|
||||
if (nbSel < 1)
|
||||
|
@ -704,7 +704,7 @@ void SMESHGUI_ScaleDlg::SelectionIntoArgument()
|
||||
|
||||
// get selected mesh
|
||||
SALOME_ListIO aList;
|
||||
mySelectionMgr->selectedObjects(aList,SVTK_Viewer::Type());
|
||||
mySelectionMgr->selectedObjects(aList);
|
||||
|
||||
int nbSel = aList.Extent();
|
||||
if (nbSel < 1)
|
||||
|
@ -726,7 +726,7 @@ void SMESHGUI_SewingDlg::SelectionIntoArgument (bool isSelectionChanged)
|
||||
|
||||
// get selected mesh
|
||||
SALOME_ListIO aList;
|
||||
mySelectionMgr->selectedObjects(aList,SVTK_Viewer::Type());
|
||||
mySelectionMgr->selectedObjects(aList);
|
||||
|
||||
int nbSel = aList.Extent();
|
||||
if (nbSel != 1)
|
||||
|
@ -420,7 +420,7 @@ void SMESHGUI_ShapeByMeshOp::onSelectionDone()
|
||||
|
||||
try {
|
||||
SALOME_ListIO aList;
|
||||
selectionMgr()->selectedObjects(aList, SVTK_Viewer::Type());
|
||||
selectionMgr()->selectedObjects(aList);
|
||||
if (!myIsMultipleAllowed && aList.Extent() != 1)
|
||||
return;
|
||||
|
||||
|
@ -565,7 +565,7 @@ void SMESHGUI_SmoothingDlg::SelectionIntoArgument()
|
||||
|
||||
// get selected mesh
|
||||
SALOME_ListIO aList;
|
||||
mySelectionMgr->selectedObjects(aList,SVTK_Viewer::Type());
|
||||
mySelectionMgr->selectedObjects(aList);
|
||||
int nbSel = aList.Extent();
|
||||
if (nbSel != 1)
|
||||
return;
|
||||
|
@ -722,7 +722,7 @@ void SMESHGUI_SymmetryDlg::SelectionIntoArgument()
|
||||
|
||||
// get selected mesh
|
||||
SALOME_ListIO aList;
|
||||
mySelectionMgr->selectedObjects(aList,SVTK_Viewer::Type());
|
||||
mySelectionMgr->selectedObjects(aList);
|
||||
|
||||
int nbSel = aList.Extent();
|
||||
if (nbSel < 1)
|
||||
|
@ -728,7 +728,7 @@ void SMESHGUI_TranslationDlg::SelectionIntoArgument()
|
||||
|
||||
// get selected mesh
|
||||
SALOME_ListIO aList;
|
||||
mySelectionMgr->selectedObjects(aList,SVTK_Viewer::Type());
|
||||
mySelectionMgr->selectedObjects(aList);
|
||||
|
||||
int nbSel = aList.Extent();
|
||||
if (nbSel < 1)
|
||||
|
Loading…
Reference in New Issue
Block a user