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!
This commit is contained in:
Bastien Montagne 2014-04-25 17:55:37 +02:00
parent 18060d8632
commit a3b0ba2871
1 changed files with 1 additions and 1 deletions

View File

@ -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);