From: mkr Date: Fri, 28 Dec 2018 10:14:21 +0000 (+0300) Subject: 0054473: TC9.2.0: SMESH: results of union, intersection and cut of groups operations... X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e1b866615f078264028312d07b24a0d2f7029408;p=modules%2Fsmesh.git 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 --- diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index 9a29eaf26..4cc5664a9 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -116,6 +116,7 @@ #include #include +#include #include #include #include @@ -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; }