Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanne Karhu <jhkarh@gmail.com>2008-08-04 18:17:11 +0400
committerJanne Karhu <jhkarh@gmail.com>2008-08-04 18:17:11 +0400
commit9ec6083cfe2a9d272815ce32d8dffe88326985cb (patch)
treecc690d75c82d7e213b12e16cdb12bcf2e2c633e7 /source/blender
parent0c9508d24845605eb5a31575abd5cf8dd2eab047 (diff)
Fix for [#17414] Particles doesn't obey to lattice once children are added
-Lattice calculations were left out for children by accident
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/blenkernel/intern/particle.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/particle.c b/source/blender/blenkernel/intern/particle.c
index 24a3d348ae7..643f90637ad 100644
--- a/source/blender/blenkernel/intern/particle.c
+++ b/source/blender/blenkernel/intern/particle.c
@@ -3744,6 +3744,9 @@ int psys_get_particle_state(Object *ob, ParticleSystem *psys, int p, ParticleKey
/* TODO: pa_clump vgroup */
do_clump(state,key1,t,part->clumpfac,part->clumppow,1.0);
+
+ if(psys->lattice)
+ calc_latt_deform(state->co,1.0f);
}
else{
if (pa) { /* TODO PARTICLE - should this ever be NULL? - Campbell */