mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-24 16:30:34 +05:00
PAL8978 - selection is lost after some operations
This commit is contained in:
parent
4d423efd78
commit
25c935e78a
@ -199,7 +199,7 @@ void SMESHGUI_EditMeshDlg::ClickOnApply()
|
||||
} catch(...) {
|
||||
}
|
||||
|
||||
mySelectionMgr->clearSelected();
|
||||
//mySelectionMgr->clearSelected();
|
||||
SMESH::UpdateView();
|
||||
}
|
||||
}
|
||||
@ -220,7 +220,7 @@ void SMESHGUI_EditMeshDlg::ClickOnOk()
|
||||
//=================================================================================
|
||||
void SMESHGUI_EditMeshDlg::ClickOnCancel()
|
||||
{
|
||||
mySelectionMgr->clearSelected();
|
||||
//mySelectionMgr->clearSelected();
|
||||
mySelectionMgr->clearFilters();
|
||||
disconnect(mySelectionMgr, 0, this, 0);
|
||||
mySMESHGUI->ResetState();
|
||||
|
@ -414,7 +414,7 @@ bool SMESHGUI_MeshPatternDlg::onApply()
|
||||
bool toCreatePolygons = myCreatePolygonsChk->isChecked();
|
||||
bool toCreatePolyedrs = myCreatePolyedrsChk->isChecked();
|
||||
if ( myPattern->MakeMesh( myMesh, toCreatePolygons, toCreatePolyedrs ) ) {
|
||||
mySelectionMgr->clearSelected();
|
||||
//mySelectionMgr->clearSelected();
|
||||
bool autoUpdate = SMESHGUI::automaticUpdate();
|
||||
if (!isRefine() && autoUpdate) {
|
||||
_PTR(SObject) aSO = SMESH::FindSObject(myMesh.in());
|
||||
|
@ -322,7 +322,7 @@ void SMESHGUI_MoveNodesDlg::onOk()
|
||||
//=======================================================================
|
||||
void SMESHGUI_MoveNodesDlg::onClose()
|
||||
{
|
||||
mySelectionMgr->clearSelected();
|
||||
//mySelectionMgr->clearSelected();
|
||||
SMESH::SetPointRepresentation(false);
|
||||
if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
|
||||
aViewWindow->SetSelectionMode(ActorSelection);
|
||||
|
@ -438,7 +438,7 @@ void SMESHGUI_MultiEditDlg::onClose()
|
||||
SMESH::RemoveFilters();
|
||||
SMESH::SetPickable();
|
||||
|
||||
mySelectionMgr->clearSelected();
|
||||
//mySelectionMgr->clearSelected();
|
||||
mySelectionMgr->clearFilters();
|
||||
|
||||
reject();
|
||||
@ -942,7 +942,7 @@ bool SMESHGUI_MultiEditDlg::onApply()
|
||||
bool aResult = process(aMeshEditor, anIds.inout());
|
||||
if (aResult) {
|
||||
if (myActor) {
|
||||
mySelectionMgr->clearSelected();
|
||||
//mySelectionMgr->clearSelected();
|
||||
SMESH::UpdateView();
|
||||
}
|
||||
|
||||
|
@ -448,7 +448,7 @@ void SMESHGUI_RotationDlg::ClickOnCancel()
|
||||
{
|
||||
disconnect(mySelectionMgr, 0, this, 0);
|
||||
mySelectionMgr->clearFilters();
|
||||
mySelectionMgr->clearSelected();
|
||||
//mySelectionMgr->clearSelected();
|
||||
SMESH::SetPointRepresentation(false);
|
||||
if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
|
||||
aViewWindow->SetSelectionMode(ActorSelection);
|
||||
|
@ -593,7 +593,7 @@ void SMESHGUI_SewingDlg::ClickOnOk()
|
||||
//=================================================================================
|
||||
void SMESHGUI_SewingDlg::ClickOnCancel()
|
||||
{
|
||||
mySelectionMgr->clearSelected();
|
||||
//mySelectionMgr->clearSelected();
|
||||
SMESH::SetPointRepresentation(false);
|
||||
if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
|
||||
aViewWindow->SetSelectionMode(ActorSelection);
|
||||
|
@ -264,7 +264,7 @@ void SMESHGUI_SingleEditDlg::onClose()
|
||||
{
|
||||
if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
|
||||
aViewWindow->SetSelectionMode(ActorSelection);
|
||||
mySelectionMgr->clearSelected();
|
||||
//mySelectionMgr->clearSelected();
|
||||
disconnect(mySelectionMgr, 0, this, 0);
|
||||
disconnect(mySMESHGUI, 0, this, 0);
|
||||
mySMESHGUI->ResetState();
|
||||
|
@ -421,7 +421,7 @@ void SMESHGUI_SmoothingDlg::ClickOnCancel()
|
||||
{
|
||||
disconnect(mySelectionMgr, 0, this, 0);
|
||||
mySelectionMgr->clearFilters();
|
||||
mySelectionMgr->clearSelected();
|
||||
//mySelectionMgr->clearSelected();
|
||||
SMESH::SetPickable(); // ???
|
||||
SMESH::SetPointRepresentation(false);
|
||||
if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
|
||||
|
@ -511,7 +511,7 @@ void SMESHGUI_SymmetryDlg::ClickOnCancel()
|
||||
{
|
||||
disconnect(mySelectionMgr, 0, this, 0);
|
||||
mySelectionMgr->clearFilters();
|
||||
mySelectionMgr->clearSelected();
|
||||
//mySelectionMgr->clearSelected();
|
||||
SMESH::SetPointRepresentation(false);
|
||||
if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
|
||||
aViewWindow->SetSelectionMode(ActorSelection);
|
||||
|
Loading…
Reference in New Issue
Block a user