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:
authorHans Goudey <h.goudey@me.com>2022-08-10 06:57:40 +0300
committerHans Goudey <h.goudey@me.com>2022-08-10 06:57:40 +0300
commit81d6dcf0b370fb9d9832bc9afa010b1be89a7e85 (patch)
tree8e21708899db73c49eb21b4f8a800bbc3a9af44b
parentcd90c54d910b940fb41dc7d846101e37cdf7f917 (diff)
Disallow procedural access
-rw-r--r--source/blender/blenkernel/intern/attribute_access.cc2
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)