diff options
author | Hans Goudey <h.goudey@me.com> | 2021-02-17 21:21:31 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-02-17 21:21:31 +0300 |
commit | f29a1d87e8ba2ac06ba648ee0721e7029610aaa3 (patch) | |
tree | a46738d463e736f6f2f13f5b7730f24c0a953543 /source/blender/editors/space_node | |
parent | c8b064f032765b7ae5403bfd47b3028f87ed3ee4 (diff) |
Fix: Attribute randomize node broken for integer attributes
The integer mode still needs a random value in a 0 to 1 range, just like
floats. So slightly refactor to let the integer randomization use the
float implementation and then round to an int afterwards.
Diffstat (limited to 'source/blender/editors/space_node')
0 files changed, 0 insertions, 0 deletions