[Bf-blender-cvs] [19169de] master: Recalculate particle pathcache stuff for all particles instead of trying to be smart.

Lukas Tönne noreply at git.blender.org
Wed Jan 7 16:16:49 CET 2015


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




More information about the Bf-blender-cvs mailing list