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-03 21:26:42 +0300
committerTon Roosendaal <ton@blender.org>2010-12-03 21:26:42 +0300
commit45922c91508883dadd1befd205602e7183ce8392 (patch)
tree89d486d140de43507e0be3bf24d3f9d7060edb22 /source/blender/editors/physics/physics_pointcache.c
parent990b487c730ac192405682fa45232f6542cdd14c (diff)
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.
Diffstat (limited to 'source/blender/editors/physics/physics_pointcache.c')
-rw-r--r--source/blender/editors/physics/physics_pointcache.c4
1 files changed, 2 insertions, 2 deletions
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;