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
path: root/source
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2014-04-25 19:55:37 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2014-04-25 19:55:37 +0400
commita3b0ba287104e37d19d47197cbc3e64ba4498353 (patch)
treeae66da01c422c33a6c28b60dfca8e9c0cfb842c3 /source
parent18060d863207d98a06b743437f2353516605436e (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')
-rw-r--r--source/blender/blenkernel/intern/pointcache.c2
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);