Commit: 28c684f66b439dd7e36349e3c751318fd97897e3 Author: Sebastian Parborg Date: Tue Jul 16 17:29:48 2019 +0200 Branches: master https://developer.blender.org/rB28c684f66b439dd7e36349e3c751318fd97897e3
Fix T66999: Blender creates new cache for particles with step 10 instead 1 Update the default init step values to be the same for all caches. This is actually a small hack as these values are not used on the creation of the first cache. But the default init value is 1, so this will not be noticeable anymore. Reviewed By: Brecht Differential Revision: http://developer.blender.org/D5271 =================================================================== M source/blender/blenkernel/intern/pointcache.c =================================================================== diff --git a/source/blender/blenkernel/intern/pointcache.c b/source/blender/blenkernel/intern/pointcache.c index d441ffdc8ff..b577efd2a22 100644 --- a/source/blender/blenkernel/intern/pointcache.c +++ b/source/blender/blenkernel/intern/pointcache.c @@ -1590,7 +1590,7 @@ void BKE_ptcache_id_from_softbody(PTCacheID *pid, Object *ob, SoftBody *sb) pid->stack_index = pid->cache->index; - pid->default_step = 10; + pid->default_step = 1; pid->max_step = 20; pid->file_type = PTCACHE_FILE_PTCACHE; } @@ -1655,7 +1655,7 @@ void BKE_ptcache_id_from_particles(PTCacheID *pid, Object *ob, ParticleSystem *p pid->info_types = (1 << BPHYS_DATA_TIMES); - pid->default_step = 10; + pid->default_step = 1; pid->max_step = 20; pid->file_type = PTCACHE_FILE_PTCACHE; } _______________________________________________ Bf-blender-cvs mailing list [email protected] https://lists.blender.org/mailman/listinfo/bf-blender-cvs
