Salome HOME
Selection for image presentation & updates for interpolated stream profiles and stream.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ProfileInterpolateOp.cxx
index 7caefc3b9a22c621b75f3b40431c67b9bb0df118..34fc43ceebd94afc60d41cc8de7e57d082a45e1f 100644 (file)
@@ -154,7 +154,12 @@ bool HYDROGUI_ProfileInterpolateOp::processApply( int& theUpdateFlags, QString&
             commit();
     }
 
-    return errMessage.isEmpty();
+    bool res = errMessage.isEmpty();
+
+    if ( res )
+        theUpdateFlags = UF_Model | UF_OCCViewer | UF_OCC_Forced | UF_VTKViewer;
+
+    return res;
 }
 
 void HYDROGUI_ProfileInterpolateOp::updatePreview()