From 30b48f32fb1e30dbf14d8b51acb654de772bb3b5 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Tue, 7 Jan 2025 13:39:05 -0500 Subject: [PATCH] Fix #132692: Grease Pencil Python attribute lookup broken Caused by c5ba8bd7c29ba0ce51eaa8d8829e6d9b68cba68c. --- source/blender/makesrna/intern/rna_attribute.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/makesrna/intern/rna_attribute.cc b/source/blender/makesrna/intern/rna_attribute.cc index 60be568beee..b4d24f55e1f 100644 --- a/source/blender/makesrna/intern/rna_attribute.cc +++ b/source/blender/makesrna/intern/rna_attribute.cc @@ -642,7 +642,7 @@ int rna_AttributeGroup_length(PointerRNA *ptr) bool rna_AttributeGroup_lookup_string(PointerRNA *ptr, const char *key, PointerRNA *r_ptr) { - AttributeOwner owner = owner_from_attribute_pointer_rna(ptr); + AttributeOwner owner = owner_from_pointer_rna(ptr); if (CustomDataLayer *layer = BKE_attribute_search_for_write( owner, key, CD_MASK_PROP_ALL, ATTR_DOMAIN_MASK_ALL))