Blender Git Loki
Git Commits -> Revision d4fd06d
Revision d4fd06d by Hans Goudey (master) February 12, 2021, 19:25 (GMT) |
Geometry Nodes: Add operation setting to attribute randomize node This commit adds a drop-down to the attribute randomize node to support a few operations on the values of existing attributes: "Replace/Create" (the existing behavior), "Add", "Subtract", and "Multiply". At this point, the operations are limited by what is simple to implement. More could be added in the future, but there isn't a strong use case for more complex operations anyway, and a second math node can be used. Differential Revision: https://developer.blender.org/D10269 |
Commit Details:
Full Hash: d4fd06d6ce89113310bb769f4777c9a4d77cb155
Parent Commit: d7c2c88
Lines Changed: +268, -75
6 Modified Paths:
/source/blender/blenkernel/BKE_blender_version.h (+1, -1) (Diff)
/source/blender/blenlib/BLI_hash.h (+10, -0) (Diff)
/source/blender/blenloader/intern/versioning_290.c (+19, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+18, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+84, -10) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_randomize.cc (+136, -64) (Diff)
/source/blender/blenlib/BLI_hash.h (+10, -0) (Diff)
/source/blender/blenloader/intern/versioning_290.c (+19, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+18, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+84, -10) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_randomize.cc (+136, -64) (Diff)