]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Minor changes.
authoradv <adv@opencascade.com>
Mon, 24 Mar 2014 05:12:08 +0000 (05:12 +0000)
committeradv <adv@opencascade.com>
Mon, 24 Mar 2014 05:12:08 +0000 (05:12 +0000)
src/HYDROGUI/HYDROGUI_ProfileOp.cxx

index bda67417e629b265e12c3a3345c31629ace59d38..53700cc00c215c311a563b32773585944f142182 100644 (file)
@@ -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;
 }