Particles bug fix: using virtual parents for child particles crashed in some cases.

This commit is contained in:
Janne Karhu 2009-12-25 22:58:11 +00:00
parent 5afd084513
commit b0b3e27471

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