diff options
author | Jacques Lucke <jacques@blender.org> | 2021-02-18 12:13:56 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-02-18 12:13:56 +0300 |
commit | 999abee874bd7d69f6a40c27969598869799e8dc (patch) | |
tree | 96c8abe083aad1b289406e9178e43e83fbea9a02 /source/blender/blenkernel/BKE_geometry_set_instances.hh | |
parent | 1bcc8f84105a7715655bc42ec12eca41d06c38cf (diff) |
Geometry Nodes: convert point cloud to mesh vertices for modifiers
Previously, when a Geometry Nodes modifier outputs a point cloud
(e.g. generated using the Point Distribute node), other modifiers
could not use that data. Now, the point cloud data is converted to
mesh vertices for such modifiers.
Ref T85281.
Differential Revision: https://developer.blender.org/D10451
Diffstat (limited to 'source/blender/blenkernel/BKE_geometry_set_instances.hh')
-rw-r--r-- | source/blender/blenkernel/BKE_geometry_set_instances.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_geometry_set_instances.hh b/source/blender/blenkernel/BKE_geometry_set_instances.hh index 4f3c9c65203..f918adaff7c 100644 --- a/source/blender/blenkernel/BKE_geometry_set_instances.hh +++ b/source/blender/blenkernel/BKE_geometry_set_instances.hh @@ -41,6 +41,7 @@ struct GeometryInstanceGroup { Vector<GeometryInstanceGroup> geometry_set_gather_instances(const GeometrySet &geometry_set); +GeometrySet geometry_set_realize_mesh_for_modifier(const GeometrySet &geometry_set); GeometrySet geometry_set_realize_instances(const GeometrySet &geometry_set); struct AttributeInfo { @@ -54,7 +55,7 @@ struct AttributeInfo { * attribute with the given name on all of the input components. */ void gather_attribute_info(Map<std::string, AttributeInfo> &attributes, - const GeometryComponentType component_type, + Span<GeometryComponentType> component_types, Span<bke::GeometryInstanceGroup> set_groups, const Set<std::string> &ignored_attributes); |