From: apo Date: Thu, 13 Oct 2005 12:55:16 +0000 (+0000) Subject: Adjust to HEAD modifications X-Git-Tag: TG-D5-38-2003_D2005-20-12~167 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=26edaa6f16f9c2e9cdd2e7f4bd40198ecf089dd3;p=modules%2Fvisu.git Adjust to HEAD modifications --- diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index 713a1005..d89cbb86 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -74,6 +74,8 @@ #include "SalomeApp_Selection.h" #include "SalomeApp_Preferences.h" +#include "QtxAction.h" + #include "VISUConfig.hh" #include "VISU_Gen_i.hh" #include "VISU_Mesh_i.hh" @@ -598,8 +600,6 @@ OnDisplayPrs() { if(MYDEBUG) MESSAGE("VisuGUI::OnDisplayPrs"); - SVTK_ViewWindow* vw = GetViewWindow( this, /*create=*/true ); - QApplication::setOverrideCursor(Qt::waitCursor); SALOME_ListIO aList; SalomeApp_SelectionMgr* mgr = GetSelectionMgr(this); @@ -615,6 +615,7 @@ OnDisplayPrs() if(aPrsObject){ if(MYDEBUG) MESSAGE("VisuGUI::OnDisplayPrs : Prs3d object"); UpdateViewer( this, aPrsObject ); + SVTK_ViewWindow* vw = GetViewWindow( this, /*create=*/true ); if ( vw ) { vw->highlight(anIO, 1); } @@ -643,6 +644,7 @@ OnDisplayPrs() } } } + SVTK_ViewWindow* vw = GetViewWindow( this ); if ( vw ) { vw->getRenderer()->ResetCameraClippingRange(); vw->Repaint();