From: ouv Date: Tue, 6 Aug 2013 11:46:38 +0000 (+0000) Subject: Minor changes. X-Git-Tag: BR_hydro_v_0_1~132 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=96b092becebebaa413b1272a78594a643d7678fc;p=modules%2Fhydro.git Minor changes. --- diff --git a/src/HYDROGUI/HYDROGUI_Operations.cxx b/src/HYDROGUI/HYDROGUI_Operations.cxx index de4b15ab..f17376e2 100644 --- a/src/HYDROGUI/HYDROGUI_Operations.cxx +++ b/src/HYDROGUI/HYDROGUI_Operations.cxx @@ -153,7 +153,7 @@ bool HYDROGUI_Module::onUndo( int theNumActions ) } theNumActions--; } - update( UF_All | UF_GV_Init | UF_GV_Forced ); + update( UF_All ); } QApplication::restoreOverrideCursor(); return anIsOk; @@ -175,7 +175,7 @@ bool HYDROGUI_Module::onRedo( int theNumActions ) } theNumActions--; } - update( UF_All | UF_GV_Init | UF_GV_Forced ); + update( UF_All ); } QApplication::restoreOverrideCursor(); return anIsOk; diff --git a/src/HYDROGUI/HYDROGUI_UpdateFlags.h b/src/HYDROGUI/HYDROGUI_UpdateFlags.h index 0bbaaaab..e3ae171b 100644 --- a/src/HYDROGUI/HYDROGUI_UpdateFlags.h +++ b/src/HYDROGUI/HYDROGUI_UpdateFlags.h @@ -33,9 +33,10 @@ */ typedef enum { - UF_All = UF_Forced | UF_Model | UF_Viewer | UF_ObjBrowser | UF_Controls, + UF_Base = UF_Forced | UF_Model | UF_Viewer | UF_ObjBrowser | UF_Controls, UF_GV_Init = 0x00000020, //!< initial update (used with UF_Viewer) UF_GV_Forced = 0x00000040, //!< to force recomputing all presentations (used with UF_Viewer) + UF_All = UF_Base | UF_GV_Init | UF_GV_Forced //!< all update flags } HYDRO_UpdateFlags; #endif