From: apo Date: Tue, 6 Dec 2005 13:10:56 +0000 (+0000) Subject: To restore popup functionality X-Git-Tag: TG-D5-38-2003_D2005-20-12~58 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a14576069b76b2f899aba7e3280ab79b62ac9ad7;p=modules%2Fvisu.git To restore popup functionality --- diff --git a/src/VISUGUI/VisuGUI_Displayer.cxx b/src/VISUGUI/VisuGUI_Displayer.cxx index fbd29789..4ea8f642 100644 --- a/src/VISUGUI/VisuGUI_Displayer.cxx +++ b/src/VISUGUI/VisuGUI_Displayer.cxx @@ -27,6 +27,7 @@ // $Header: /home/server/cvs/VISU/VISU_SRC/src/VISUGUI/VisuGUI_Displayer.cxx #include "VisuGUI_Displayer.h" +#include "VVTK_ViewModel.h" #include "VisuGUI_Tools.h" #include "VISU_Actor.h" @@ -222,7 +223,7 @@ bool VisuGUI_Displayer::canBeDisplayed( const QString& entry, const QString& vie if( CORBA::is_nil( anObj ) ) return false; - if( viewer_type==SVTK_Viewer::Type() ) + if( viewer_type==SVTK_Viewer::Type() || viewer_type==VVTK_Viewer::Type()) { VISU::Prs3d_i* thePrs = dynamic_cast( VISU::GetServant( anObj ).in() ); return thePrs;