Blender Git Commit Log
Git Commits -> Revision b081108
Revision b081108 by Jacques Lucke (attribute-accessor, geometry-nodes, geometry-nodes-active-modifier-drawing, geometry-nodes-attribute-nodes, geometry-nodes-deduplicate-float-math, geometry-nodes-distribute-points, geometry-nodes-mix-attributes, geometry-nodes-point-separate-node, temp-geometry-nodes-distribute-points-cleanup) November 12, 2020, 12:20 (GMT) |
Geometry Nodes: support geometry components in depsgraph object iterator Objects can evaluate to a geometry set instead of a single ID (only point cloud objects for now). In the depsgraph object iterator, those geometry components are expanded into temporary objects. It's important to note that instanced objects can also contain geometry components. Therefore, they have to be split up into multiple objects as well in some cases. At a high level the iterator works like so: ``` for object in depsgraph: for component in object: yield object_from_component(component) for dupli in make_duplis_list(object): for component in dupli: yield object_from_component(component) ``` DEG_iterator_objects_next has been cleaned up, to make this structure a bit more apparent. |
Commit Details:
Full Hash: b081108819c02f117f6797b1fbaf296bc3aae769
Parent Commit: 2be7b2a
Lines Changed: +155, -78