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>2021-02-18 14:32:34 +0300
committerJacques Lucke <jacques@blender.org>2021-02-18 14:32:40 +0300
commite1fe1fcc79377645cca1286c80f3aeee5b736388 (patch)
treec3d835e03e4e1e1fbbf2ad4e9a69f4b333f38ded /source/blender/blenkernel/BKE_geometry_set_instances.hh
parentb166429fc9ba4f5478dad262077db001b1c75863 (diff)
Cleanup: rename AttributeInfo to AttributeKind
"Kind" is a bit less generic than "Info" for me. Especially, it implies that the struct does not contain the name of a specific attribute (for me anyway).
Diffstat (limited to 'source/blender/blenkernel/BKE_geometry_set_instances.hh')
-rw-r--r--source/blender/blenkernel/BKE_geometry_set_instances.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_geometry_set_instances.hh b/source/blender/blenkernel/BKE_geometry_set_instances.hh
index f918adaff7c..16c28e32e3c 100644
--- a/source/blender/blenkernel/BKE_geometry_set_instances.hh
+++ b/source/blender/blenkernel/BKE_geometry_set_instances.hh
@@ -44,7 +44,7 @@ Vector<GeometryInstanceGroup> geometry_set_gather_instances(const GeometrySet &g
GeometrySet geometry_set_realize_mesh_for_modifier(const GeometrySet &geometry_set);
GeometrySet geometry_set_realize_instances(const GeometrySet &geometry_set);
-struct AttributeInfo {
+struct AttributeKind {
CustomDataType data_type;
AttributeDomain domain;
};
@@ -54,7 +54,7 @@ struct AttributeInfo {
* 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, AttributeInfo> &attributes,
+void gather_attribute_info(Map<std::string, AttributeKind> &attributes,
Span<GeometryComponentType> component_types,
Span<bke::GeometryInstanceGroup> set_groups,
const Set<std::string> &ignored_attributes);