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:
-rw-r--r--source/blender/blenkernel/intern/attribute_access_intern.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/attribute_access_intern.hh b/source/blender/blenkernel/intern/attribute_access_intern.hh
index e9023e28297..5fbca283399 100644
--- a/source/blender/blenkernel/intern/attribute_access_intern.hh
+++ b/source/blender/blenkernel/intern/attribute_access_intern.hh
@@ -399,8 +399,8 @@ inline AttributeValidator lookup_validator(const void * /*owner*/,
if (!attribute_id.is_named()) {
return {};
}
- const auto &builtin_providers = providers.builtin_attribute_providers();
- const BuiltinAttributeProvider *provider = builtin_providers.lookup_as(attribute_id.name());
+ const BuiltinAttributeProvider *provider =
+ providers.builtin_attribute_providers().lookup_default_as(attribute_id.name(), nullptr);
if (!provider) {
return {};
}