Blender Git Statistics -> Developers -> ildefons

Moritz Röhrich (ildefons)

Total Commits : 1
Master Commits : 1
Branch Commits : 0
First Commit : December 10, 2021
Latest Commit : December 10, 2021

Commits by Month

DateNumber of Commits
December, 20211

Favourite Files

FilenameTotal Edits
node_fn_random_value.cc1

File Changes

ActionTotalPer Commit
Modified11.0

Code Changes

ActionTotalPer Commit
Lines Added44.0
Lines Removed22.0

Latest commits Feed

Revision f886f29 by Moritz Röhrich / Hans Goudey (master)
December 10, 2021, 15:34 (GMT)
Fix T93591: Random Value node first and last value proportion

This patch replaces `round_fl_to_int` with `floor` and adjusts the
maximum value accordingly. The call to `round_fl_to_int` is problematic
here because it messes with the probability distribution at the edges
of the value range, meaning the first and last values were only half
as common as all other values. Since `round_fl_to_int` does
`floor(val + 0.5)`, it will not introduce misbehavior in edge cases.

Differential Revision: https://developer.blender.org/D13474

MiikaHweb - Blender Git Statistics v1.06
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021