mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 08:50:35 +05:00
in frame of 0020622: EDF 1194 SMESH: Merge nodes or elements
This commit is contained in:
parent
e6e7b52bbf
commit
31873e6e23
@ -638,13 +638,17 @@ void SMESHGUI_EditMeshDlg::ClickOnOk()
|
|||||||
void SMESHGUI_EditMeshDlg::ClickOnCancel()
|
void SMESHGUI_EditMeshDlg::ClickOnCancel()
|
||||||
{
|
{
|
||||||
myIdPreview->SetPointsLabeled(false);
|
myIdPreview->SetPointsLabeled(false);
|
||||||
|
SMESH::SetPointRepresentation(false);
|
||||||
|
disconnect(mySelectionMgr, 0, this, 0);
|
||||||
|
disconnect(mySMESHGUI, 0, this, 0);
|
||||||
|
mySMESHGUI->ResetState();
|
||||||
|
|
||||||
mySelectionMgr->clearFilters();
|
mySelectionMgr->clearFilters();
|
||||||
//mySelectionMgr->clearSelected();
|
//mySelectionMgr->clearSelected();
|
||||||
SMESH::SetPointRepresentation(false);
|
|
||||||
if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
|
if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
|
||||||
aViewWindow->SetSelectionMode(ActorSelection);
|
aViewWindow->SetSelectionMode(ActorSelection);
|
||||||
disconnect(mySelectionMgr, 0, this, 0);
|
|
||||||
mySMESHGUI->ResetState();
|
|
||||||
reject();
|
reject();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -862,7 +866,11 @@ void SMESHGUI_EditMeshDlg::onAddGroup()
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
QString anIDs = "";
|
QString anIDs = "";
|
||||||
SMESH::GetNameOfSelectedNodes(mySelector, myActor->getIO(), anIDs);
|
int aNbElements = 0;
|
||||||
|
aNbElements = SMESH::GetNameOfSelectedNodes(mySelector, myActor->getIO(), anIDs);
|
||||||
|
|
||||||
|
if (aNbElements < 1)
|
||||||
|
return;
|
||||||
|
|
||||||
ListCoincident->clearSelection();
|
ListCoincident->clearSelection();
|
||||||
ListCoincident->addItem(anIDs);
|
ListCoincident->addItem(anIDs);
|
||||||
|
Loading…
Reference in New Issue
Block a user