From cacc27879eb1dc0b3aec9ac958e432451378e68f Mon Sep 17 00:00:00 2001 From: asl Date: Fri, 29 Aug 2014 12:25:03 +0000 Subject: [PATCH] refs #434: update of bathymetry presentation --- src/HYDROGUI/HYDROGUI_ImportBathymetryOp.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/HYDROGUI/HYDROGUI_ImportBathymetryOp.cxx b/src/HYDROGUI/HYDROGUI_ImportBathymetryOp.cxx index 4e828055..c6f188a2 100644 --- a/src/HYDROGUI/HYDROGUI_ImportBathymetryOp.cxx +++ b/src/HYDROGUI/HYDROGUI_ImportBathymetryOp.cxx @@ -186,6 +186,8 @@ bool HYDROGUI_ImportBathymetryOp::processApply( int& theUpdateFlags, aVTKMgr = module()->getApp()->viewManager( SVTK_Viewer::Type() ); } } + + /* // If there is no VTK viewer yet then create a new one if ( !aVTKMgr ) { @@ -195,9 +197,9 @@ bool HYDROGUI_ImportBathymetryOp::processApply( int& theUpdateFlags, if ( aVTKMgr ) { module()->setObjectVisible( (size_t)aVTKMgr->getViewModel(), aBathymetryObj, true ); - } + }*/ - theUpdateFlags = UF_Model | UF_VTKViewer | UF_VTK_Init | UF_VTK_Forced; + theUpdateFlags = UF_Model | UF_OCCViewer | UF_OCC_Forced | UF_VTKViewer; if( !myIsEdit ) { -- 2.39.2