diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-07-04 17:10:40 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-07-04 17:10:40 +0300 |
commit | 99683f25e8e8bd9b1e9d8f4a0966cc6268c98fb0 (patch) | |
tree | 3afdadc391b113e8ff922abde4584beb46aa52f5 /source/blender/editors/uvedit/uvedit_parametrizer.c | |
parent | d3b27bd19c688b297d952f7c27c721dc079612b6 (diff) |
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!
Diffstat (limited to 'source/blender/editors/uvedit/uvedit_parametrizer.c')
0 files changed, 0 insertions, 0 deletions