diff options
author | Hans Goudey <h.goudey@me.com> | 2022-08-10 06:57:40 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-08-10 06:57:40 +0300 |
commit | 81d6dcf0b370fb9d9832bc9afa010b1be89a7e85 (patch) | |
tree | 8e21708899db73c49eb21b4f8a800bbc3a9af44b | |
parent | cd90c54d910b940fb41dc7d846101e37cdf7f917 (diff) |
Disallow procedural access
-rw-r--r-- | source/blender/blenkernel/intern/attribute_access.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/attribute_access.cc b/source/blender/blenkernel/intern/attribute_access.cc index 1af3cde1821..b9995796a21 100644 --- a/source/blender/blenkernel/intern/attribute_access.cc +++ b/source/blender/blenkernel/intern/attribute_access.cc @@ -56,7 +56,7 @@ const char *no_procedural_access_message = bool allow_procedural_attribute_access(StringRef attribute_name) { - return !attribute_name.startswith(".selection"); + return !attribute_name.startswith(".selection") && !attribute_name.startswith(".hide"); } static int attribute_data_type_complexity(const eCustomDataType data_type) |