diff options
author | Hans Goudey <h.goudey@me.com> | 2021-04-07 23:49:02 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-04-07 23:49:02 +0300 |
commit | 79ba4fde1591ce20c23608276975c691cd3c9302 (patch) | |
tree | 059c00cbbb30d787be46c0580baf1a6a46d9990c /source/blender/blenkernel/BKE_geometry_set_instances.hh | |
parent | 1a8db9ec04d53d6b9d40d463001b84684e5a8e76 (diff) |
Cleanup: Rename function, switch order of arguments
The function name was not very specific, this makes it clearer that it
works on instances rather than only real geometry. Also use `r_`
prefix for the return argument.
Diffstat (limited to 'source/blender/blenkernel/BKE_geometry_set_instances.hh')
-rw-r--r-- | source/blender/blenkernel/BKE_geometry_set_instances.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenkernel/BKE_geometry_set_instances.hh b/source/blender/blenkernel/BKE_geometry_set_instances.hh index c372fdff049..c0d9c3f74ec 100644 --- a/source/blender/blenkernel/BKE_geometry_set_instances.hh +++ b/source/blender/blenkernel/BKE_geometry_set_instances.hh @@ -55,9 +55,9 @@ struct AttributeKind { * will contain the highest complexity data type and the highest priority domain among every * attribute with the given name on all of the input components. */ -void gather_attribute_info(Map<std::string, AttributeKind> &attributes, - Span<GeometryComponentType> component_types, - Span<bke::GeometryInstanceGroup> set_groups, - const Set<std::string> &ignored_attributes); +void geometry_set_gather_instances_attribute_info(Span<GeometryInstanceGroup> set_groups, + Span<GeometryComponentType> component_types, + const Set<std::string> &ignored_attributes, + Map<std::string, AttributeKind> &r_attributes); } // namespace blender::bke |