diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2014-04-25 19:55:37 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2014-04-25 19:55:37 +0400 |
commit | a3b0ba287104e37d19d47197cbc3e64ba4498353 (patch) | |
tree | ae66da01c422c33a6c28b60dfca8e9c0cfb842c3 /source/blender | |
parent | 18060d863207d98a06b743437f2353516605436e (diff) |
Always init pointcache frame step to 1.
Note it was already the case for many simulations (cloth, rigidbody, etc.), just doing this
systematically in BKE_ptcache_add() now, will avoid us some recurring bug reports.
Advanced users will know when they can/have to raise this parameter!
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/pointcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/pointcache.c b/source/blender/blenkernel/intern/pointcache.c index b97861c6c35..86649aca962 100644 --- a/source/blender/blenkernel/intern/pointcache.c +++ b/source/blender/blenkernel/intern/pointcache.c @@ -3000,7 +3000,7 @@ PointCache *BKE_ptcache_add(ListBase *ptcaches) cache= MEM_callocN(sizeof(PointCache), "PointCache"); cache->startframe= 1; cache->endframe= 250; - cache->step= 10; + cache->step = 1; cache->index = -1; BLI_addtail(ptcaches, cache); |