Fix copy-paste error in recent particles fix
Was intersecting same triangle twice.
This commit is contained in:
parent
17c00d222f
commit
7377b36660
|
@ -242,7 +242,7 @@ static void distribute_grid(DerivedMesh *dm, ParticleSystem *psys)
|
|||
|
||||
if (isect_ray_tri_watertight_v3(co1,
|
||||
&isect_precalc,
|
||||
v1, v2, v3,
|
||||
v1, v3, v4,
|
||||
&lambda, NULL)) {
|
||||
if (from==PART_FROM_FACE)
|
||||
(pa+(int)(lambda*size[a])*a0mul)->flag &= ~PARS_UNEXIST;
|
||||
|
|
Loading…
Reference in New Issue