Fix copy-paste error in recent particles fix
Was intersecting same triangle twice.
This commit is contained in:
parent
2aa2bec43a
commit
95a8e73d40
Notes:
blender-bot
2023-02-14 06:34:46 +01:00
Referenced by issue #53683, 2.79a release Referenced by issue #52732, particle system volume grid particles out of volume
|
@ -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