mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-04 11:50:32 +05:00
0054473: TC9.2.0: SMESH: results of union, intersection and cut of groups operations are not updated correctly. 0054487: TC9.2.0: SMESH: VTK viewer is updated correctly only after the second call of Show Only command
This commit is contained in:
parent
1bc6da3e05
commit
c511644fda
@ -120,6 +120,7 @@
|
|||||||
#include <SUIT_OverrideCursor.h>
|
#include <SUIT_OverrideCursor.h>
|
||||||
#include <SUIT_ResourceMgr.h>
|
#include <SUIT_ResourceMgr.h>
|
||||||
#include <SUIT_Session.h>
|
#include <SUIT_Session.h>
|
||||||
|
#include <SVTK_Renderer.h>
|
||||||
#include <SVTK_ViewManager.h>
|
#include <SVTK_ViewManager.h>
|
||||||
#include <SVTK_ViewModel.h>
|
#include <SVTK_ViewModel.h>
|
||||||
#include <SVTK_ViewWindow.h>
|
#include <SVTK_ViewWindow.h>
|
||||||
@ -2727,6 +2728,10 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
else
|
else
|
||||||
aSel->setSelectedObjects( to_process );
|
aSel->setSelectedObjects( to_process );
|
||||||
|
|
||||||
|
if ( vtkwnd && vtkwnd->GetRenderer() && !isStudyLocked() &&
|
||||||
|
( theCommandID==SMESHOp::OpShow || theCommandID==SMESHOp::OpShowOnly ) )
|
||||||
|
vtkwnd->GetRenderer()->AdjustActors();
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user