Fix for #1839
authorTon Roosendaal <ton@blender.org>
Mon, 22 Nov 2004 22:41:07 +0000 (22:41 +0000)
committerTon Roosendaal <ton@blender.org>
Mon, 22 Nov 2004 22:41:07 +0000 (22:41 +0000)
commitf3c8c47adb6ff3e3ca88418f4c26e9795029613f
tree9cea62673a5568f6b8add5ef978ca1c0da1c8127
parent0d9fa743489bd9bf9b1c33541dc7506136e030d0
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
source/blender/include/BIF_screen.h
source/blender/include/mydevice.h
source/blender/src/editobject.c
source/blender/src/editscreen.c
source/blender/src/interface.c