diff options
author | Janne Karhu <jhkarh@gmail.com> | 2010-12-18 18:03:31 +0300 |
---|---|---|
committer | Janne Karhu <jhkarh@gmail.com> | 2010-12-18 18:03:31 +0300 |
commit | b58dbbd51b298acede888a4005d13982417a6bee (patch) | |
tree | 8c0ef0e7d3e2cb24100dc8d86686471cf633951e /source/blender/editors/physics/physics_pointcache.c | |
parent | a93411629811ec20f576895c0cb515b9abd7ec19 (diff) |
Extreme makeover of pointcache code:
* Pointcache code was quite ugly looking and complicated, so here are mostly just cosmetic adjustments, but some improved logic also.
* Slight cleanup of pointcache ui too.
* Shouldn't have any functional changes what so ever, so poke me right away if something seems off.
Diffstat (limited to 'source/blender/editors/physics/physics_pointcache.c')
-rw-r--r-- | source/blender/editors/physics/physics_pointcache.c | 4 |
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 8843cf2849a..e0fc0d7318d 100644 --- a/source/blender/editors/physics/physics_pointcache.c +++ b/source/blender/editors/physics/physics_pointcache.c @@ -116,7 +116,7 @@ static int ptcache_bake_all_exec(bContext *C, wmOperator *op) baker.progresscontext = NULL; } - BKE_ptcache_make_cache(&baker); + BKE_ptcache_bake(&baker); WM_event_add_notifier(C, NC_SCENE|ND_FRAME, scene); WM_event_add_notifier(C, NC_OBJECT|ND_POINTCACHE, NULL); @@ -218,7 +218,7 @@ static int ptcache_bake_exec(bContext *C, wmOperator *op) baker.progresscontext = NULL; } - BKE_ptcache_make_cache(&baker); + BKE_ptcache_bake(&baker); BLI_freelistN(&pidlist); |