]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To restore popup functionality
authorapo <apo@opencascade.com>
Tue, 6 Dec 2005 13:10:56 +0000 (13:10 +0000)
committerapo <apo@opencascade.com>
Tue, 6 Dec 2005 13:10:56 +0000 (13:10 +0000)
src/VISUGUI/VisuGUI_Displayer.cxx

index fbd29789d8b285b25568e019a1032586ea9dd8ec..4ea8f642e34199cb084d53421112f96529d248f9 100644 (file)
@@ -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::Prs3d_i*>( VISU::GetServant( anObj ).in() );
     return thePrs;