Blender Git Loki

Git Commits -> Revision 99683f2

Revision 99683f2 by Bastien Montagne (master)
July 4, 2016, 14:10 (GMT)
And one more fix to particle distribution!

As pointed by Brecht, previous fix in rB61b49de44940 was actually incomplete,
we could still hit float rounding issue and hence same value in more than one consecutive
items of element_sum.

New solution is a bit different, we remove the 'minimal weight' check, and rather simply
ignores an item when the sum of its normalized weight to previous item's sum does not add
anything. Shall be safe and 100% effective this time!

Commit Details:

Full Hash: 99683f25e8e8bd9b1e9d8f4a0966cc6268c98fb0
Parent Commit: d3b27bd
Lines Changed: +9, -12

1 Modified Path:

/source/blender/blenkernel/intern/particle_distribute.c (+9, -12) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021