From c1c4656c281cf977ff27fbbdf5b1d1262e90fab7 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 12 Nov 2009 13:35:37 +0000 Subject: [PATCH] Fix popup menu bugs (some actions should work even without viewer open) --- src/GEOMGUI/GeometryGUI.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GEOMGUI/GeometryGUI.cxx b/src/GEOMGUI/GeometryGUI.cxx index 85c121983..611022451 100644 --- a/src/GEOMGUI/GeometryGUI.cxx +++ b/src/GEOMGUI/GeometryGUI.cxx @@ -344,7 +344,7 @@ void GeometryGUI::OnGUIEvent( int id ) bool ViewVTK = ( window && window->getViewManager()->getType() == SVTK_Viewer::Type() ); // if current viewframe is not of OCC and not of VTK type - return immediately // fix for IPAL8958 - allow some commands to execute even when NO viewer is active (rename for example) - bool NotViewerDependentCommand = ( id == 901 || id == 216 || id == 213 ); + bool NotViewerDependentCommand = ( id == 901 || id == 216 || id == 213 || id == 33 || id == 8037 || id == 8038 || id == 8039 ); if ( !ViewOCC && !ViewVTK && !NotViewerDependentCommand ) return; -- 2.39.2