]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PAL15161 (Mesh to pass through a point - preview works wrong for the submesh and...
authoreap <eap@opencascade.com>
Wed, 7 Mar 2007 10:39:01 +0000 (10:39 +0000)
committereap <eap@opencascade.com>
Wed, 7 Mar 2007 10:39:01 +0000 (10:39 +0000)
    Clear selection at Apply()

src/SMESHGUI/SMESHGUI_MakeNodeAtPointDlg.cxx

index ce60b192f2d05d95defb0665068dacef36d7cee5..4f076c55145e8b629f1667a8f4ff56e3e92c2f8c 100644 (file)
@@ -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);
   }