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-11-29 16:14:51 +0300
committerTon Roosendaal <ton@blender.org>2010-11-29 16:14:51 +0300
commitceebc3598fd06d980fe5536c36f7d7bb8f5c78a8 (patch)
tree3ebc37f27bba3a3b7f4583bf00ae3cf53546c293 /source/blender/windowmanager/intern/wm_cursors.c
parent1dd1cea06e0bb1c9cd1e08fd9f359893dc2681a3 (diff)
From the todo:
Save or load .blend file shows cursor 'wait' again. Is clear to indicate a totally blocking operation.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_cursors.c')
-rw-r--r--source/blender/windowmanager/intern/wm_cursors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_cursors.c b/source/blender/windowmanager/intern/wm_cursors.c
index ab49c8a34bf..966bc8b3285 100644
--- a/source/blender/windowmanager/intern/wm_cursors.c
+++ b/source/blender/windowmanager/intern/wm_cursors.c
@@ -156,7 +156,7 @@ void WM_cursor_restore(wmWindow *win)
void WM_cursor_wait(int val)
{
wmWindowManager *wm= G.main->wm.first;
- wmWindow *win= wm->windows.first;
+ wmWindow *win= wm?wm->windows.first:NULL;
for(; win; win= win->next) {
if(val) {