From 96b092becebebaa413b1272a78594a643d7678fc Mon Sep 17 00:00:00 2001 From: ouv Date: Tue, 6 Aug 2013 11:46:38 +0000 Subject: [PATCH] Minor changes. --- src/HYDROGUI/HYDROGUI_Operations.cxx | 4 ++-- src/HYDROGUI/HYDROGUI_UpdateFlags.h | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) 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 -- 2.39.2