Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2010-12-27 21:54:43 +0300
committerTon Roosendaal <ton@blender.org>2010-12-27 21:54:43 +0300
commit1a8cc0a8f051c92e03bee4ad9cb4ae0727b0a4e5 (patch)
tree1639852ec8b79dad83ef86045dd3a63f126c75eb /source/blender/windowmanager/intern/wm_cursors.c
parent595525067e9138441fe841edfbda7100ac560624 (diff)
Small fixes:
- OpenGL still render failed when output format was set to Movie. Now it just doesn't save a file and renders anyway. - Bone heat weight was missing 'wait cursor'. - Waitcursor for Mac Cocoa is back! Made all OS's use the same nice hourglass cursor. (Note: this violates Mac UI guidelines, we should rely on the spinning wheel of death instead. Highly disputable that.)
Diffstat (limited to 'source/blender/windowmanager/intern/wm_cursors.c')
-rw-r--r--source/blender/windowmanager/intern/wm_cursors.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/windowmanager/intern/wm_cursors.c b/source/blender/windowmanager/intern/wm_cursors.c
index 8998c9624e5..6034ddce1b5 100644
--- a/source/blender/windowmanager/intern/wm_cursors.c
+++ b/source/blender/windowmanager/intern/wm_cursors.c
@@ -139,10 +139,9 @@ void WM_cursor_set(wmWindow *win, int curs)
void WM_cursor_modal(wmWindow *win, int val)
{
- if(win->lastcursor == 0) {
+ if(win->lastcursor == 0)
win->lastcursor = win->cursor;
- WM_cursor_set(win, val);
- }
+ WM_cursor_set(win, val);
}
void WM_cursor_restore(wmWindow *win)
@@ -161,7 +160,7 @@ void WM_cursor_wait(int val)
for(; win; win= win->next) {
if(val) {
- WM_cursor_modal(win, CURSOR_WAIT);
+ WM_cursor_modal(win, BC_WAITCURSOR);
} else {
WM_cursor_restore(win);
}