mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-21 00:29:40 +05:00
Fix popup menu bugs (some actions should work even without viewer open)
This commit is contained in:
parent
0f6aed6c55
commit
c1c4656c28
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user