diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-03-30 17:54:13 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-03-30 17:56:32 +0300 |
commit | 53e85a159a64a59b66d57006b5a80d3826648ef0 (patch) | |
tree | bbf495822b5de4ef0f95f49aa4711db6798f5e4b /source/blender | |
parent | f8b9f4e9bbc10675de9bbc3088f2841381e23f78 (diff) |
Particles: Fix broken grid distribution in some case from own recent rB201d3938622.
Diffstat (limited to 'source/blender')
-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 a250a41730a..0f1f24091e8 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); |