diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-03-30 17:54:13 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-04-05 11:51:07 +0300 |
commit | 19f323012ae925a245c2b9e8bd64737bab7f6ec8 (patch) | |
tree | a1d830d3c38c2b0568a08c3c39a56adf291ddbdf /source | |
parent | e97db72ae40652501fb2486913a23f0b9625f75e (diff) |
Particles: Fix broken grid distribution in some case from own recent rB201d3938622.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/particle_distribute.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/particle_distribute.c b/source/blender/blenkernel/intern/particle_distribute.c index 0e45f6b34b1..ccbc239f0d6 100644 --- a/source/blender/blenkernel/intern/particle_distribute.c +++ b/source/blender/blenkernel/intern/particle_distribute.c @@ -822,6 +822,7 @@ static int psys_thread_context_init_distribute(ParticleThreadContext *ctx, Parti else { dm = CDDM_from_mesh((Mesh*)ob->data); } + DM_ensure_tessface(dm); distribute_grid(dm,psys); |