mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-31 03:40:34 +05:00
PAL15161 (Mesh to pass through a point - preview works wrong for the submesh and group)
Clear selection at Apply()
This commit is contained in:
parent
5a51c1c355
commit
5dc951b4bf
@ -394,6 +394,7 @@ bool SMESHGUI_MakeNodeAtPointOp::onApply()
|
|||||||
myDlg->myId->setText("");
|
myDlg->myId->setText("");
|
||||||
|
|
||||||
SALOME_ListIO aList;
|
SALOME_ListIO aList;
|
||||||
|
selectionMgr()->setSelectedObjects(aList,false);
|
||||||
aList.Append(myMeshActor->getIO());
|
aList.Append(myMeshActor->getIO());
|
||||||
selectionMgr()->setSelectedObjects(aList,false);
|
selectionMgr()->setSelectedObjects(aList,false);
|
||||||
SMESH::UpdateView();
|
SMESH::UpdateView();
|
||||||
@ -578,7 +579,7 @@ void SMESHGUI_MakeNodeAtPointOp::redisplayPreview()
|
|||||||
mySimulation->SetData(aMeshPreviewStruct._retn());
|
mySimulation->SetData(aMeshPreviewStruct._retn());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
mySimulation->SetVisibility(false);
|
mySimulation->SetVisibility(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user