X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_ProfileInterpolateOp.cxx;h=34fc43ceebd94afc60d41cc8de7e57d082a45e1f;hb=e1d46e66d9b3c89854d2b81c8b1673791f78d390;hp=7caefc3b9a22c621b75f3b40431c67b9bb0df118;hpb=23fc100ee54b809290603f0209d507a17846f4aa;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_ProfileInterpolateOp.cxx b/src/HYDROGUI/HYDROGUI_ProfileInterpolateOp.cxx index 7caefc3b..34fc43ce 100644 --- a/src/HYDROGUI/HYDROGUI_ProfileInterpolateOp.cxx +++ b/src/HYDROGUI/HYDROGUI_ProfileInterpolateOp.cxx @@ -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()