diff options
author | Ton Roosendaal <ton@blender.org> | 2004-11-23 01:41:07 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-11-23 01:41:07 +0300 |
commit | f3c8c47adb6ff3e3ca88418f4c26e9795029613f (patch) | |
tree | 9cea62673a5568f6b8add5ef978ca1c0da1c8127 /source/blender/include/mydevice.h | |
parent | 0d9fa743489bd9bf9b1c33541dc7506136e030d0 (diff) |
Fix for #1839
On large changes of the Lattice resolution button, the undopush crashed.
Reason was that the push happened for buttons before the actual event for
buttons was executed.
Solved by creating new event UNDOPUSH that's being added to the queue by
by buttons now.
- Made button undo texts for number buttons more clear
- Added undo push for missing Add lamp/empty/lattice/camera
Diffstat (limited to 'source/blender/include/mydevice.h')
-rw-r--r-- | source/blender/include/mydevice.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/include/mydevice.h b/source/blender/include/mydevice.h index b8832606c6d..18c3784ae08 100644 --- a/source/blender/include/mydevice.h +++ b/source/blender/include/mydevice.h @@ -204,6 +204,7 @@ #define RESHAPE 0x4007 #define UI_BUT_EVENT 0x4008 #define AUTOSAVE_FILE 0x4009 +#define UNDOPUSH 0x400A /* REDRAWVIEW3D has to be the first one (lowest number) for buttons! */ #define REDRAWVIEW3D 0x4010 |