From c511644fda61729b9dc67c4aabf2a97b2be15f39 Mon Sep 17 00:00:00 2001 From: mkr Date: Fri, 28 Dec 2018 13:14:21 +0300 Subject: [PATCH] 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 --- src/SMESHGUI/SMESHGUI.cxx | 5 +++++ 1 file changed, 5 insertions(+) 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; } -- 2.30.2