Blender Git Commit Log
Git Commits -> Revision fdb7d3f
Revision fdb7d3f by Hans Goudey (temp-gpencil-bezier-stroke-type) April 22, 2021, 15:35 (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: fdb7d3f48936ad0fc1cc0a70f1df43c4558ec9be
Parent Commit: c71debb
Committed By: Falk David
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)
/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)