From 5dc951b4bf0ce0a9ac7a6097317e09357530813f Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 7 Mar 2007 10:39:01 +0000 Subject: [PATCH] PAL15161 (Mesh to pass through a point - preview works wrong for the submesh and group) Clear selection at Apply() --- src/SMESHGUI/SMESHGUI_MakeNodeAtPointDlg.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/SMESHGUI/SMESHGUI_MakeNodeAtPointDlg.cxx b/src/SMESHGUI/SMESHGUI_MakeNodeAtPointDlg.cxx index ce60b192f..4f076c551 100644 --- a/src/SMESHGUI/SMESHGUI_MakeNodeAtPointDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_MakeNodeAtPointDlg.cxx @@ -392,8 +392,9 @@ bool SMESHGUI_MakeNodeAtPointOp::onApply() if (aResult) { myDlg->myId->setText(""); - + SALOME_ListIO aList; + selectionMgr()->setSelectedObjects(aList,false); aList.Append(myMeshActor->getIO()); selectionMgr()->setSelectedObjects(aList,false); SMESH::UpdateView(); @@ -578,7 +579,7 @@ void SMESHGUI_MakeNodeAtPointOp::redisplayPreview() mySimulation->SetData(aMeshPreviewStruct._retn()); } else - { +{ mySimulation->SetVisibility(false); }