Blender Git Commit Log

Git Commits -> Revision d1ccc5b

Revision d1ccc5b by Hans Goudey (master)
April 22, 2021, 14:20 (GMT)
Geometry Nodes: Add initializer for attribute creation

Previously we always had to set attribute values after creating
the attribute. This patch adds an initializer argument to
`attribute_try_create` which can fill it in a few ways, which
are explained in code comments.

This fixes T87597.

Differential Revision: https://developer.blender.org/D11045

Commit Details:

Full Hash: d1ccc5b9694b7c737158f4d4bd83ae780b32d258
Parent Commit: 9fccbe2
Lines Changed: +188, -26

5 Modified Paths:

/source/blender/blenkernel/BKE_geometry_set.hh (+63, -2) (Diff)
/source/blender/blenkernel/intern/attribute_access.cc (+114, -18) (Diff)
/source/blender/blenkernel/intern/attribute_access_intern.hh (+7, -4) (Diff)
/source/blender/blenkernel/intern/geometry_component_mesh.cc (+2, -1) (Diff)
/source/blender/blenkernel/intern/geometry_set_instances.cc (+2, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021