Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2020-12-02 15:28:08 +0300
committerJacques Lucke <jacques@blender.org>2020-12-02 17:38:47 +0300
commitae0aa4b94c4a9b5b166fbc0b5394dcc47455091d (patch)
treeb2d8eeb30fa148bec0ff9f91a3bd1cf965d9a168 /source/blender/nodes/geometry/node_geometry_util.cc
parent6be56c13e96048cbc494ba5473a8deaf2cf5a6f8 (diff)
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, the evaluated 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. This should not change anything for objects that are not point clouds.
Diffstat (limited to 'source/blender/nodes/geometry/node_geometry_util.cc')
0 files changed, 0 insertions, 0 deletions