diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-09-15 09:35:00 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-09-15 09:35:24 +0300 |
commit | 95a8e73d40004461aa17a60695c29106749325ec (patch) | |
tree | 8aba34bf30dfa01a8199a3630a14301bcd1f84f4 /source/blender/blenkernel/intern/particle_distribute.c | |
parent | 2aa2bec43a7f1fa214833c73d033ae1785c600f3 (diff) |
Fix copy-paste error in recent particles fix
Was intersecting same triangle twice.
Diffstat (limited to 'source/blender/blenkernel/intern/particle_distribute.c')
-rw-r--r-- | source/blender/blenkernel/intern/particle_distribute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/particle_distribute.c b/source/blender/blenkernel/intern/particle_distribute.c index 1ef4d005f0d..9a7980827ad 100644 --- a/source/blender/blenkernel/intern/particle_distribute.c +++ b/source/blender/blenkernel/intern/particle_distribute.c @@ -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; |