Salome HOME
merge trunk on BR_quadtree 20140820
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_SetColorOp.cxx
index 511f56b8bb289c6ea208ffc1ad6cc2522580529e..464434b6b61f6363fa182368d84e8768c7c0e3f0 100644 (file)
@@ -118,7 +118,8 @@ void HYDROGUI_SetColorOp::startOperation()
 }
 
 bool HYDROGUI_SetColorOp::processApply( int& theUpdateFlags,
-                                        QString& theErrorMsg )
+                                        QString& theErrorMsg,
+                                        QStringList& theBrowseObjectsEntries )
 {
   if ( !myColorDlg || myEditedObject.IsNull() )
     return false;
@@ -150,7 +151,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;
 }