From ca63cb79d4e16a2e936a34113e89b094e2c13f2b Mon Sep 17 00:00:00 2001 From: adv Date: Mon, 24 Mar 2014 05:12:08 +0000 Subject: [PATCH] Minor changes. --- src/HYDROGUI/HYDROGUI_ProfileOp.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } -- 2.39.2