From 26edaa6f16f9c2e9cdd2e7f4bd40198ecf089dd3 Mon Sep 17 00:00:00 2001 From: apo Date: Thu, 13 Oct 2005 12:55:16 +0000 Subject: [PATCH] Adjust to HEAD modifications --- src/VISUGUI/VisuGUI.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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(); -- 2.39.2