Blender Git Commit Log

Git Commits -> Revision 719bea0

Revision 719bea0 by Hans Goudey (master)
January 12, 2021, 20:03 (GMT)
Geometry Nodes: Output the most complex attribute data type

In order to avoid losing information, it sometimes makes sense for the
output attribute type to depend on the types of the input attributes.

Such a function already exists, `attribute_data_type_highest_complexity`,
it just needs to be used in a few more places. The change for the attribute
compare node is just so the code there uses the same code style as in the
attribute mix node.

Addresses part of T83793
Differential Revision: https://developer.blender.org/D10099

Commit Details:

Full Hash: 719bea0d6d06be579edee2fc3d12a7828bb8e101
Parent Commit: 6c15b70
Lines Changed: +19, -12

3 Modified Paths:

/source/blender/nodes/geometry/nodes/node_geo_attribute_color_ramp.cc (+4, -2) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_compare.cc (+4, -6) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_mix.cc (+11, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021