Blender Git Loki

Git Commits -> Revision 23233fc

Revision 23233fc by Hans Goudey (master)
December 17, 2020, 20:43 (GMT)
Cleanup: Use abstraction for attribute math node input

Since creating the attribute node, a helper function has been added to
automatically get the input attribute or a constant value, depending on
the "input type" values for the node. This commit replaces the specific
implementation of that behavior with the new helper function.

The versioning is necessary since the node now has a "storage" struct.

Commit Details:

Full Hash: 23233fcf056e42958972d129ba526c0a103cf179
Parent Commit: b10d8e3
Lines Changed: +62, -56

4 Modified Paths:

/source/blender/blenloader/intern/versioning_290.c (+21, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+11, -5) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+7, -17) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_math.cc (+23, -34) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021