From a14576069b76b2f899aba7e3280ab79b62ac9ad7 Mon Sep 17 00:00:00 2001 From: apo Date: Tue, 6 Dec 2005 13:10:56 +0000 Subject: [PATCH] To restore popup functionality --- src/VISUGUI/VisuGUI_Displayer.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.2