]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0054473: TC9.2.0: SMESH: results of union, intersection and cut of groups operations...
authormkr <margarita.karpunina@opencascade.com>
Fri, 28 Dec 2018 10:14:21 +0000 (13:14 +0300)
committermkr <margarita.karpunina@opencascade.com>
Fri, 28 Dec 2018 10:14:21 +0000 (13:14 +0300)
src/SMESHGUI/SMESHGUI.cxx

index 9a29eaf2621824ad75dc4daa38396302b7a6d3d8..4cc5664a930af434ee0811be2cf781d8267fcf98 100644 (file)
 #include <LightApp_SelectionMgr.h>
 #include <LightApp_UpdateFlags.h>
 
+#include <SVTK_Renderer.h>
 #include <SVTK_ViewManager.h>
 #include <SVTK_ViewModel.h>
 #include <SVTK_ViewWindow.h>
@@ -2723,6 +2724,10 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
       else
         aSel->setSelectedObjects( to_process );
 
+      if ( vtkwnd && vtkwnd->GetRenderer() && !isStudyLocked() &&
+           ( theCommandID==SMESHOp::OpShow || theCommandID==SMESHOp::OpShowOnly ) )
+        vtkwnd->GetRenderer()->AdjustActors();
+
       break;
     }