[Bf-blender-cvs] [53e85a1] master: Particles: Fix broken grid distribution in some case from own recent rB201d3938622.

Bastien Montagne noreply at git.blender.org
Wed Mar 30 16:56:44 CEST 2016


Commit: 53e85a159a64a59b66d57006b5a80d3826648ef0
Author: Bastien Montagne
Date:   Wed Mar 30 16:54:13 2016 +0200
Branches: master
https://developer.blender.org/rB53e85a159a64a59b66d57006b5a80d3826648ef0

Particles: Fix broken grid distribution in some case from own recent rB201d3938622.

===================================================================

M	source/blender/blenkernel/intern/particle_distribute.c

===================================================================

diff --git a/source/blender/blenkernel/intern/particle_distribute.c b/source/blender/blenkernel/intern/particle_distribute.c
index a250a41..0f1f240 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);




More information about the Bf-blender-cvs mailing list