Blender Git Commit Log

Git Commits -> Revision 0e757da

December 9, 2020, 22:33 (GMT)
Geometry Nodes: Add a method to find the lowest complexity attribute

For the attribute comparison node, it makes sense to read both input
attributes implicitly converted to the same data type. But the choice
of which of the two data types to read with is somewhat arbitrary.
This commit adds a utility function to choose the least "complex" data
type as a lowest common denominator, to make that choice less arbitrary
, and to support other needs in the future.

Commit Details:

Full Hash: 0e757da3b548543ac938620d4defe177348220bd
Parent Commit: 200cbb6
Lines Changed: +46, -1

2 Modified Paths:

/source/blender/nodes/geometry/node_geometry_util.cc (+42, -0) (Diff)
/source/blender/nodes/geometry/node_geometry_util.hh (+4, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021