From: eap Date: Wed, 7 Mar 2007 10:39:01 +0000 (+0000) Subject: PAL15161 (Mesh to pass through a point - preview works wrong for the submesh and... X-Git-Tag: V3_2_6pre2~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5dc951b4bf0ce0a9ac7a6097317e09357530813f;p=modules%2Fsmesh.git PAL15161 (Mesh to pass through a point - preview works wrong for the submesh and group) Clear selection at Apply() --- 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); }