Blender Git Commit Log

Git Commits -> Revision 38af29d

Revision 38af29d by Jacques Lucke (master)
September 23, 2021, 15:59 (GMT)
Geometry Nodes: simplify looping over attributes in geometry set

This adds three new methods:
* `InstancesComponent::foreach_reference_as_geometry(...)`
* `GeometrySet::attribute_foreach(...)`
* `GeometrySet::gather_attributes_for_propagation(...)`

The goal is that these iteration primitives can be used in places
where we use more specialized iterators currently.

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

Commit Details:

Full Hash: 38af29df5c307517dfdd0803b7e00d979be7185d
Parent Commit: 105115d
Lines Changed: +129, -6

6 Modified Paths:

/source/blender/blenkernel/BKE_attribute_access.hh (+5, -0) (Diff)
/source/blender/blenkernel/BKE_geometry_set.hh (+19, -0) (Diff)
/source/blender/blenkernel/BKE_geometry_set_instances.hh (+0, -5) (Diff)
/source/blender/blenkernel/intern/geometry_set.cc (+70, -0) (Diff)
/source/blender/blenkernel/intern/geometry_set_instances.cc (+35, -0) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc (+0, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021