Blender Git Commit Log

Git Commits -> Revision f29a1d8

Revision f29a1d8 by Hans Goudey (master)
February 17, 2021, 18:21 (GMT)
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.

Commit Details:

Full Hash: f29a1d87e8ba2ac06ba648ee0721e7029610aaa3
Parent Commit: c8b064f
Lines Changed: +26, -17

1 Modified Path:

/source/blender/nodes/geometry/nodes/node_geo_attribute_randomize.cc (+26, -17) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021