Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-09-15 09:35:00 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-09-15 09:35:24 +0300
commit95a8e73d40004461aa17a60695c29106749325ec (patch)
tree8aba34bf30dfa01a8199a3630a14301bcd1f84f4 /source/blender/blenkernel
parent2aa2bec43a7f1fa214833c73d033ae1785c600f3 (diff)
Fix copy-paste error in recent particles fix
Was intersecting same triangle twice.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/particle_distribute.c2
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;