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:
authorPhilipp Oeser <info@graphics-engineer.com>2022-09-03 12:43:15 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2022-09-03 12:43:15 +0300
commit4b818b151329516df55b5d9a1fbcc21ec3b73e7a (patch)
treea93de83237013eed41bb731b367c7fcff3b07a68 /source/blender/blenkernel/intern/attribute.cc
parent0348bc88e4c1e26724d2469bab9f50c2ac5cf259 (diff)
parenta631dc55756b9c1a9835bf5b06f5d57f388f1277 (diff)
Merge branch 'blender-v3.3-release'
Diffstat (limited to 'source/blender/blenkernel/intern/attribute.cc')
-rw-r--r--source/blender/blenkernel/intern/attribute.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/attribute.cc b/source/blender/blenkernel/intern/attribute.cc
index 0f7fabcff9b..8524f340803 100644
--- a/source/blender/blenkernel/intern/attribute.cc
+++ b/source/blender/blenkernel/intern/attribute.cc
@@ -474,7 +474,7 @@ CustomDataLayer *BKE_id_attributes_active_get(ID *id)
for (int i = 0; i < customdata->totlayer; i++) {
CustomDataLayer *layer = &customdata->layers[i];
if (CD_MASK_PROP_ALL & CD_TYPE_AS_MASK(layer->type)) {
- if (index == active_index) {
+ if (index == active_index && BKE_attribute_allow_procedural_access(layer->name)) {
return layer;
}
index++;