From 1abcf8de100d14016ab483553c2d3c0f2d706daf Mon Sep 17 00:00:00 2001 From: asl Date: Fri, 6 Dec 2013 05:35:36 +0000 Subject: [PATCH] bug #201: excess fit all --- src/HYDROGUI/HYDROGUI_ImportBathymetryOp.cxx | 2 +- src/HYDROGUI/HYDROGUI_ShowHideOp.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2