diff options
author | Hans Goudey <h.goudey@me.com> | 2021-09-16 19:56:31 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-09-16 19:56:31 +0300 |
commit | 31a0708cb1097be96bf7a8ad2b344b20ac7d2fcd (patch) | |
tree | 0a232c8e70de95fbfc938385b41407d754fd0b9e /source/blender/blenkernel/BKE_geometry_set.hh | |
parent | 58043c0637f88f56a26c9cd645d9019780bc4761 (diff) |
Cleanup: Add built-in check for an attribute ID
Diffstat (limited to 'source/blender/blenkernel/BKE_geometry_set.hh')
-rw-r--r-- | source/blender/blenkernel/BKE_geometry_set.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_geometry_set.hh b/source/blender/blenkernel/BKE_geometry_set.hh index 3da35cb4fe1..bf38294257a 100644 --- a/source/blender/blenkernel/BKE_geometry_set.hh +++ b/source/blender/blenkernel/BKE_geometry_set.hh @@ -103,6 +103,7 @@ class GeometryComponent { virtual int attribute_domain_size(const AttributeDomain domain) const; bool attribute_is_builtin(const blender::StringRef attribute_name) const; + bool attribute_is_builtin(const blender::bke::AttributeIDRef &attribute_id) const; /* Get read-only access to the highest priority attribute with the given name. * Returns null if the attribute does not exist. */ |