From e09b54f7a19034b0cae59f9443c70a3e73e4a152 Mon Sep 17 00:00:00 2001 From: asl Date: Thu, 24 Aug 2006 13:23:20 +0000 Subject: [PATCH] PAL12688 - python command <3D view>.ShowPart( VISU.View.VIEWER, 0 ) don't change status of viewer --- src/VISU_I/VISU_View_i.cc | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/VISU_I/VISU_View_i.cc b/src/VISU_I/VISU_View_i.cc index 9a60677f..abb6ad9b 100644 --- a/src/VISU_I/VISU_View_i.cc +++ b/src/VISU_I/VISU_View_i.cc @@ -156,9 +156,14 @@ namespace VISU { myApplication->setWindowShown(SalomeApp_Application::WT_LogWindow,myState); break; case VISU::View::VIEWER:{ - ViewManagerList aViewManagerList = myApplication->viewManagers(); - // to do something - // ... + ViewManagerList mgrs = myApplication->viewManagers(); + ViewManagerList::const_iterator anIt = mgrs.begin(), aLast = mgrs.end(); + for( ; anIt!=aLast; anIt++ ) + { + const QPtrVector& views = (*anIt)->getViews(); + for( int i=0; isetShown( myState ); + } break; }} } -- 2.39.2