diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2015-01-07 18:15:03 +0300 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2015-01-07 18:16:40 +0300 |
commit | 19169de9f7bcc6438a91be2133fe21bea513953a (patch) | |
tree | 9584bc0afabb1090e6119dbf815672e1dd108e14 | |
parent | e0e9cd0163a62e74d9837becad4e9097228ce60e (diff) |
Recalculate particle pathcache stuff for all particles instead of
trying to be smart.
This breaks child interpolation otherwise because sometimes parent
paths are not calculated and give bad clumping results.
-rw-r--r-- | source/blender/blenkernel/intern/particle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/particle.c b/source/blender/blenkernel/intern/particle.c index 7c9e28afb3c..dfc6285146f 100644 --- a/source/blender/blenkernel/intern/particle.c +++ b/source/blender/blenkernel/intern/particle.c @@ -3000,7 +3000,7 @@ void psys_cache_paths(ParticleSimulationData *sim, float cfra) } /*---first main loop: create all actual particles' paths---*/ - LOOP_SHOWN_PARTICLES { + LOOP_PARTICLES { if (!psys->totchild) { psys_get_texture(sim, pa, &ptex, PAMAP_LENGTH, 0.f); pa_length = ptex.length * (1.0f - part->randlength * psys_frand(psys, psys->seed + p)); |