Commit: 19169de9f7bcc6438a91be2133fe21bea513953a
Author: Lukas Tönne
Date:   Wed Jan 7 16:15:03 2015 +0100
Branches: master
https://developer.blender.org/rB19169de9f7bcc6438a91be2133fe21bea513953a

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.

===================================================================

M       source/blender/blenkernel/intern/particle.c

===================================================================

diff --git a/source/blender/blenkernel/intern/particle.c 
b/source/blender/blenkernel/intern/particle.c
index 7c9e28a..dfc6285 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));

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to