mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-27 04:10:33 +05:00
PAL9878 - selection lost after operation
This commit is contained in:
parent
8db6ce0cb0
commit
2f652b3784
@ -457,7 +457,7 @@ void SMESHGUI_AddMeshElementDlg::ClickOnApply()
|
||||
}
|
||||
|
||||
SALOME_ListIO aList; aList.Append( myActor->getIO() );
|
||||
mySelector->ClearIndex();
|
||||
//mySelector->ClearIndex();
|
||||
mySelectionMgr->setSelectedObjects( aList, false );
|
||||
|
||||
SMESH::UpdateView();
|
||||
@ -489,7 +489,7 @@ void SMESHGUI_AddMeshElementDlg::ClickOnOk()
|
||||
//=================================================================================
|
||||
void SMESHGUI_AddMeshElementDlg::ClickOnCancel()
|
||||
{
|
||||
mySelectionMgr->clearSelected();
|
||||
//mySelectionMgr->clearSelected();
|
||||
mySimulation->SetVisibility(false);
|
||||
SMESH::SetPointRepresentation(false);
|
||||
if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
|
||||
|
@ -639,7 +639,7 @@ bool SMESHGUI_ExtrusionAlongPathDlg::ClickOnApply()
|
||||
return false;
|
||||
}
|
||||
|
||||
mySelectionMgr->clearSelected();
|
||||
//mySelectionMgr->clearSelected();
|
||||
SMESH::UpdateView();
|
||||
Init(false);
|
||||
ConstructorsClicked(GetConstructorId());
|
||||
@ -664,7 +664,7 @@ void SMESHGUI_ExtrusionAlongPathDlg::reject()
|
||||
{
|
||||
disconnect(mySelectionMgr, 0, this, 0);
|
||||
mySelectionMgr->clearFilters();
|
||||
mySelectionMgr->clearSelected();
|
||||
//mySelectionMgr->clearSelected();
|
||||
SMESH::SetPickable(); // ???
|
||||
SMESH::SetPointRepresentation(false);
|
||||
if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
|
||||
|
@ -411,7 +411,7 @@ void SMESHGUI_ExtrusionDlg::ClickOnCancel()
|
||||
{
|
||||
disconnect(mySelectionMgr, 0, this, 0);
|
||||
mySelectionMgr->clearFilters();
|
||||
mySelectionMgr->clearSelected();
|
||||
//mySelectionMgr->clearSelected();
|
||||
SMESH::SetPickable(); // ???
|
||||
SMESH::SetPointRepresentation(false);
|
||||
if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
|
||||
|
@ -335,7 +335,7 @@ bool SMESHGUI_MergeNodesDlg::ClickOnApply()
|
||||
} catch(...) {
|
||||
}
|
||||
|
||||
mySelectionMgr->clearSelected();
|
||||
//mySelectionMgr->clearSelected();
|
||||
SMESH::UpdateView();
|
||||
|
||||
onDetect();
|
||||
@ -359,7 +359,7 @@ void SMESHGUI_MergeNodesDlg::ClickOnOk()
|
||||
void SMESHGUI_MergeNodesDlg::ClickOnCancel()
|
||||
{
|
||||
mySelectionMgr->clearFilters();
|
||||
mySelectionMgr->clearSelected();
|
||||
//mySelectionMgr->clearSelected();
|
||||
SMESH::SetPointRepresentation(false);
|
||||
if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
|
||||
aViewWindow->SetSelectionMode(ActorSelection);
|
||||
|
@ -285,7 +285,7 @@ void SMESHGUI_RemoveElementsDlg::ClickOnOk()
|
||||
//=================================================================================
|
||||
void SMESHGUI_RemoveElementsDlg::ClickOnCancel()
|
||||
{
|
||||
mySelectionMgr->clearSelected();
|
||||
//mySelectionMgr->clearSelected();
|
||||
if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
|
||||
aViewWindow->SetSelectionMode(ActorSelection);
|
||||
disconnect(mySelectionMgr, 0, this, 0);
|
||||
|
@ -288,7 +288,7 @@ void SMESHGUI_RemoveNodesDlg::ClickOnOk()
|
||||
//=================================================================================
|
||||
void SMESHGUI_RemoveNodesDlg::ClickOnCancel()
|
||||
{
|
||||
mySelectionMgr->clearSelected();
|
||||
//mySelectionMgr->clearSelected();
|
||||
SMESH::SetPointRepresentation(false);
|
||||
if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
|
||||
aViewWindow->SetSelectionMode(ActorSelection);
|
||||
|
@ -274,7 +274,7 @@ void SMESHGUI_RenumberingDlg::ClickOnApply()
|
||||
{
|
||||
}
|
||||
|
||||
mySelectionMgr->clearSelected();
|
||||
//mySelectionMgr->clearSelected();
|
||||
SMESH::UpdateView();
|
||||
}
|
||||
}
|
||||
@ -295,7 +295,7 @@ void SMESHGUI_RenumberingDlg::ClickOnOk()
|
||||
//=================================================================================
|
||||
void SMESHGUI_RenumberingDlg::ClickOnCancel()
|
||||
{
|
||||
mySelectionMgr->clearSelected();
|
||||
//mySelectionMgr->clearSelected();
|
||||
mySelectionMgr->clearFilters();
|
||||
disconnect(mySelectionMgr, 0, this, 0);
|
||||
mySMESHGUI->ResetState();
|
||||
|
@ -495,7 +495,7 @@ void SMESHGUI_RevolutionDlg::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);
|
||||
|
@ -473,7 +473,7 @@ void SMESHGUI_TranslationDlg::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