diff options
author | Janne Karhu <jhkarh@gmail.com> | 2009-12-26 01:58:11 +0300 |
---|---|---|
committer | Janne Karhu <jhkarh@gmail.com> | 2009-12-26 01:58:11 +0300 |
commit | b0b3e27471fb84f139d4aa3033aa093ac708f467 (patch) | |
tree | 3b9de2442ee90dbe4432d5eec8afd8d825e99d6d /source/blender/blenkernel/intern/particle.c | |
parent | 5afd084513f799a8d5e725e12a756a9464e711ba (diff) |
Particles bug fix: using virtual parents for child particles crashed in some cases.
Diffstat (limited to 'source/blender/blenkernel/intern/particle.c')
-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 1968673e568..b19b0f9fa20 100644 --- a/source/blender/blenkernel/intern/particle.c +++ b/source/blender/blenkernel/intern/particle.c @@ -2444,7 +2444,7 @@ static void psys_thread_create_path(ParticleThread *thread, struct ChildParticle mul_m4_v3(ob->obmat,cpa_1st); } - pa = psys->particles + cpa->parent; + pa = psys->particles + cpa->pa[0]; psys_mat_hair_to_global(ob, ctx->sim.psmd->dm, psys->part->from, pa, hairmat); |