Fix #132692: Grease Pencil Python attribute lookup broken

Caused by c5ba8bd7c2.
This commit is contained in:
Hans Goudey
2025-01-07 13:39:05 -05:00
parent 1c2b8d6957
commit 30b48f32fb

View File

@@ -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))