From 8c4c92f304f4a44223387c3de9c6b2aab6602b33 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Sun, 12 Oct 2025 10:51:08 -0400 Subject: [PATCH] Fix #147907: Geometry Node Viewer Item "Auto Remove" toggle crash The RNA property had an incorrect update callback assigned. The update callback assumed the RNA pointer data was a node rather than a node's viewer item. --- source/blender/makesrna/intern/rna_nodetree.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/blender/makesrna/intern/rna_nodetree.cc b/source/blender/makesrna/intern/rna_nodetree.cc index fa95bf3c423..c8ab631ffa2 100644 --- a/source/blender/makesrna/intern/rna_nodetree.cc +++ b/source/blender/makesrna/intern/rna_nodetree.cc @@ -7309,7 +7309,8 @@ static void rna_def_geo_viewer_item(BlenderRNA *brna) RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); RNA_def_property_ui_text( prop, "Auto Remove", "Remove the item automatically when it is unlinked"); - RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update"); + RNA_def_property_update( + prop, NC_NODE | NA_EDITED, "rna_Node_ItemArray_item_update"); } static void rna_def_geo_viewer_items(BlenderRNA *brna)