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/BIF_screen.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/BIF_screen.h')
-rw-r--r-- | source/blender/include/BIF_screen.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/include/BIF_screen.h b/source/blender/include/BIF_screen.h index b211c333fad..94b5edb4180 100644 --- a/source/blender/include/BIF_screen.h +++ b/source/blender/include/BIF_screen.h @@ -98,6 +98,7 @@ void screen_swapbuffers(void); void set_debug_swapbuffers_ovveride(struct bScreen *sc, int mode); int is_allowed_to_change_screen(struct bScreen *newp); void splash(void * data, int datasizei, char * string); +void screen_delayed_undo_push(char *name); void screenmain(void); void getdisplaysize(void); void setprefsize(int stax, int stay, int sizx, int sizy); |