From 45922c91508883dadd1befd205602e7183ce8392 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Fri, 3 Dec 2010 18:26:42 +0000 Subject: Bugfix #24568 The old blocking "time cursor" wasn't working anymore. Commit 32798 overlooked that the initialization was needed. Now bakes show it again. Note to self: it seems to flash slightly (like 2.49), need to check on it one day. --- source/blender/editors/physics/physics_pointcache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/physics/physics_pointcache.c') diff --git a/source/blender/editors/physics/physics_pointcache.c b/source/blender/editors/physics/physics_pointcache.c index 519a85fe39a..8843cf2849a 100644 --- a/source/blender/editors/physics/physics_pointcache.c +++ b/source/blender/editors/physics/physics_pointcache.c @@ -106,7 +106,7 @@ static int ptcache_bake_all_exec(bContext *C, wmOperator *op) /* Disabled for now as this doesn't work properly, * and pointcache baking will be reimplemented with * the job system soon anyways. */ - if (win && 0) { + if (win) { baker.progressbar = (void (*)(void *, int))WM_timecursor; baker.progressend = (void (*)(void *))WM_cursor_restore; baker.progresscontext = win; @@ -207,7 +207,7 @@ static int ptcache_bake_exec(bContext *C, wmOperator *op) /* Disabled for now as this doesn't work properly, * and pointcache baking will be reimplemented with * the job system soon anyways. */ - if (win && 0) { + if (win) { baker.progressbar = (void (*)(void *, int))WM_timecursor; baker.progressend = (void (*)(void *))WM_cursor_restore; baker.progresscontext = win; -- cgit v1.2.3