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-Tag: V9_3_0a1~20 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c511644fda61729b9dc67c4aabf2a97b2be15f39;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 1e020c810..7c386d35c 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -120,6 +120,7 @@ #include #include #include +#include #include #include #include @@ -2727,6 +2728,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; }