Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1bc6da3
)
0054473: TC9.2.0: SMESH: results of union, intersection and cut of groups operations...
author
mkr
<margarita.karpunina@opencascade.com>
Fri, 28 Dec 2018 10:14:21 +0000
(13:14 +0300)
committer
eap
<eap@opencascade.com>
Thu, 17 Jan 2019 15:08:54 +0000
(18:08 +0300)
src/SMESHGUI/SMESHGUI.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI.cxx
b/src/SMESHGUI/SMESHGUI.cxx
index 1e020c81066282000f6d4a5e371e927e3da3db37..7c386d35cde67c3299e719f12be0768da2f055e3 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI.cxx
+++ b/
src/SMESHGUI/SMESHGUI.cxx
@@
-120,6
+120,7
@@
#include <SUIT_OverrideCursor.h>
#include <SUIT_ResourceMgr.h>
#include <SUIT_Session.h>
+#include <SVTK_Renderer.h>
#include <SVTK_ViewManager.h>
#include <SVTK_ViewModel.h>
#include <SVTK_ViewWindow.h>
@@
-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;
}