Salome HOME
Exlude the user input during process events by application (Bug #325).
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_SetColorOp.cxx
index 511f56b8bb289c6ea208ffc1ad6cc2522580529e..fa24977fa50617448340f140640f298382b402cf 100644 (file)
@@ -150,7 +150,9 @@ bool HYDROGUI_SetColorOp::processApply( int& theUpdateFlags,
     aPolyObject->SetWireColor( aFirstColor );
   }
 
-  theUpdateFlags = UF_Model | UF_OCCViewer | UF_OCC_Forced;
+  module()->setIsToUpdate( myEditedObject );
+
+  theUpdateFlags = UF_Model | UF_OCCViewer | UF_OCC_Forced | UF_VTKViewer;
   
   return true;
 }