From: asl Date: Fri, 29 Aug 2014 12:25:03 +0000 (+0000) Subject: refs #434: update of bathymetry presentation X-Git-Tag: master_20140917~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cacc27879eb1dc0b3aec9ac958e432451378e68f;p=modules%2Fhydro.git refs #434: update of bathymetry presentation --- 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 ) {