From: adv Date: Mon, 24 Mar 2014 05:12:08 +0000 (+0000) Subject: Minor changes. X-Git-Tag: BR_hydro_v1_0_1~25 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ca63cb79d4e16a2e936a34113e89b094e2c13f2b;p=modules%2Fhydro.git Minor changes. --- diff --git a/src/HYDROGUI/HYDROGUI_ProfileOp.cxx b/src/HYDROGUI/HYDROGUI_ProfileOp.cxx index bda67417..53700cc0 100644 --- a/src/HYDROGUI/HYDROGUI_ProfileOp.cxx +++ b/src/HYDROGUI/HYDROGUI_ProfileOp.cxx @@ -236,7 +236,10 @@ bool HYDROGUI_ProfileOp::processApply( int& theUpdateFlags, aProfileObj->Update(); module()->setIsToUpdate( aProfileObj ); - theUpdateFlags = UF_Model | UF_OCCViewer | UF_OCC_Forced | UF_VTKViewer; + theUpdateFlags = UF_Model; + if ( myIsEdit ) + theUpdateFlags |= UF_OCCViewer | UF_OCC_Forced | UF_VTKViewer; + return true; }