diff options
author | Jacques Lucke <jacques@blender.org> | 2021-08-24 18:30:56 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-08-24 18:30:56 +0300 |
commit | a448949f255757ee74c9fb18215cebfd0afd76f2 (patch) | |
tree | 765d09ef40e0ef2c555b51035837e18e32cac8d9 /source/blender/blenkernel/BKE_geometry_set.hh | |
parent | e3232f987a6367d10aed7b05da3c0b20f3dd9b25 (diff) |
more uses of attribute id
Diffstat (limited to 'source/blender/blenkernel/BKE_geometry_set.hh')
-rw-r--r-- | source/blender/blenkernel/BKE_geometry_set.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_geometry_set.hh b/source/blender/blenkernel/BKE_geometry_set.hh index c429161e38b..df237e17035 100644 --- a/source/blender/blenkernel/BKE_geometry_set.hh +++ b/source/blender/blenkernel/BKE_geometry_set.hh @@ -93,7 +93,7 @@ class GeometryComponent { /* Return the data type and domain of an attribute with the given name if it exists. */ std::optional<AttributeMetaData> attribute_get_meta_data( - const blender::StringRef attribute_name) const; + const blender::bke::AttributeIDRef &attribute_id) const; /* Returns true when the geometry component supports this attribute domain. */ bool attribute_domain_supported(const AttributeDomain domain) const; @@ -110,7 +110,7 @@ class GeometryComponent { /* Get read and write access to the highest priority attribute with the given name. * Returns null if the attribute does not exist. */ blender::bke::WriteAttributeLookup attribute_try_get_for_write( - const blender::StringRef attribute_name); + const blender::bke::AttributeIDRef &attribute_id); /* Get a read-only attribute for the domain based on the given attribute. This can be used to * interpolate from one domain to another. |