From: apo Date: Tue, 18 Apr 2006 08:42:46 +0000 (+0000) Subject: Fix on Bug11663 X-Git-Tag: T3_2_0b1_pre1~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6b94c717eb722ed12c7d7795b95493833733b9ee;p=modules%2Fgui.git Fix on Bug11663 There is the same 3D popup for all VTK viewers in "Mesh". (to provide a way to find an active view through the SUIT_Desktop usage) --- diff --git a/src/SVTK/SVTK_ViewManager.cxx b/src/SVTK/SVTK_ViewManager.cxx index 4822bf639..04dc0f3f4 100644 --- a/src/SVTK/SVTK_ViewManager.cxx +++ b/src/SVTK/SVTK_ViewManager.cxx @@ -35,6 +35,12 @@ SVTK_ViewManager::~SVTK_ViewManager() { } +//*************************************************************** +SUIT_Desktop* SVTK_ViewManager::getDesktop() +{ + return myDesktop; +} + //*************************************************************** void SVTK_ViewManager::setViewName(SUIT_ViewWindow* theView) { diff --git a/src/SVTK/SVTK_ViewManager.h b/src/SVTK/SVTK_ViewManager.h index b200ccc5b..977a286ff 100644 --- a/src/SVTK/SVTK_ViewManager.h +++ b/src/SVTK/SVTK_ViewManager.h @@ -36,6 +36,8 @@ public: //! Destroy the view manager virtual ~SVTK_ViewManager(); + SUIT_Desktop* getDesktop(); + protected: void setViewName( SUIT_ViewWindow* theView );