diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2022-09-03 12:43:15 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2022-09-03 12:43:15 +0300 |
commit | 4b818b151329516df55b5d9a1fbcc21ec3b73e7a (patch) | |
tree | a93de83237013eed41bb731b367c7fcff3b07a68 /source/blender/blenkernel/intern/attribute.cc | |
parent | 0348bc88e4c1e26724d2469bab9f50c2ac5cf259 (diff) | |
parent | a631dc55756b9c1a9835bf5b06f5d57f388f1277 (diff) |
Merge branch 'blender-v3.3-release'
Diffstat (limited to 'source/blender/blenkernel/intern/attribute.cc')
-rw-r--r-- | source/blender/blenkernel/intern/attribute.cc | 2 |
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++; |