Blender Git Loki
Git Commits -> Revision 12f9fd9
Revision 12f9fd9 by Hans Goudey (pygpu_extensions) February 12, 2021, 21:54 (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: 12f9fd95164963c5d2d4906cbfa203419afcc0de
Parent Commit: dec6a55
Committed By: Germano Cavalcante
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)