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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-05-03 17:56:15 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-05-03 17:56:15 +0400
commit13e97f86d0c64f6ce18902e564761cd212214d28 (patch)
treed166f98101b7e881f4c001727cd954134a11c3bb /source/blender/blenkernel
parentd10da0fbd2a3edc4a35bd6695d1caa234f4e78f0 (diff)
Fix #31259: particle grid distribution not working.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/particle_system.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/particle_system.c b/source/blender/blenkernel/intern/particle_system.c
index daa7f847df6..a4d61cea3fb 100644
--- a/source/blender/blenkernel/intern/particle_system.c
+++ b/source/blender/blenkernel/intern/particle_system.c
@@ -1064,6 +1064,7 @@ static int distribute_threads_init_data(ParticleThread *threads, Scene *scene, D
if (part->distr==PART_DISTR_GRID && from != PART_FROM_VERT) {
BLI_srandom(31415926 + psys->seed);
dm= CDDM_from_mesh((Mesh*)ob->data, ob);
+ DM_ensure_tessface(dm);
distribute_grid(dm, psys);
dm->release(dm);
return 0;