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:
authorBastien Montagne <montagne29@wanadoo.fr>2016-07-04 17:10:40 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2016-07-04 17:10:40 +0300
commit99683f25e8e8bd9b1e9d8f4a0966cc6268c98fb0 (patch)
tree3afdadc391b113e8ff922abde4584beb46aa52f5 /source/blender/editors/mesh/editmesh_undo.c
parentd3b27bd19c688b297d952f7c27c721dc079612b6 (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/mesh/editmesh_undo.c')
0 files changed, 0 insertions, 0 deletions