forked from bartvdbraak/blender
Particles bug fix: using virtual parents for child particles crashed in some cases.
This commit is contained in:
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user