From: asl Date: Fri, 6 Dec 2013 05:35:36 +0000 (+0000) Subject: bug #201: excess fit all X-Git-Tag: BR_hydro_v_0_4~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1abcf8de100d14016ab483553c2d3c0f2d706daf;p=modules%2Fhydro.git bug #201: excess fit all --- diff --git a/src/HYDROGUI/HYDROGUI_ImportBathymetryOp.cxx b/src/HYDROGUI/HYDROGUI_ImportBathymetryOp.cxx index b32945ab..c6921961 100644 --- a/src/HYDROGUI/HYDROGUI_ImportBathymetryOp.cxx +++ b/src/HYDROGUI/HYDROGUI_ImportBathymetryOp.cxx @@ -176,7 +176,7 @@ bool HYDROGUI_ImportBathymetryOp::processApply( int& theUpdateFlags, module()->setObjectVisible( (size_t)aVTKMgr->getViewModel(), aBathymetryObj, true ); } - theUpdateFlags = UF_Model | UF_FitAll | UF_VTKViewer | UF_VTK_Init | UF_VTK_Forced; + theUpdateFlags = UF_Model | UF_VTKViewer | UF_VTK_Init | UF_VTK_Forced; return true; } diff --git a/src/HYDROGUI/HYDROGUI_ShowHideOp.cxx b/src/HYDROGUI/HYDROGUI_ShowHideOp.cxx index 0d335250..90a1c4d1 100644 --- a/src/HYDROGUI/HYDROGUI_ShowHideOp.cxx +++ b/src/HYDROGUI/HYDROGUI_ShowHideOp.cxx @@ -150,7 +150,7 @@ void HYDROGUI_ShowHideOp::startOperation() if ( myId == ShowOnlyId || myId == ShowId || myId == ShowAllId ) { - anUpdateFlags |= UF_FitAll; + //anUpdateFlags |= UF_FitAll; } // Set VTK viewer active if show a bathymetry