From 6dbcc84cc02b10f8b3711e1d415be1a8c5f69199 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Mon, 4 Aug 2025 17:56:45 +0200 Subject: [PATCH] Fix #143844: Assert when loading an image in Image Editor (debug build). 'Regular' ID RNA pointer not refcounting its usages, not properly tagged as such. --- source/blender/makesrna/intern/rna_space.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/source/blender/makesrna/intern/rna_space.cc b/source/blender/makesrna/intern/rna_space.cc index 9b9ffdac31c..60cb92d7f5a 100644 --- a/source/blender/makesrna/intern/rna_space.cc +++ b/source/blender/makesrna/intern/rna_space.cc @@ -5983,6 +5983,7 @@ static void rna_def_space_image(BlenderRNA *brna) prop, nullptr, "rna_SpaceImageEditor_image_set", nullptr, nullptr); RNA_def_property_ui_text(prop, "Image", "Image displayed and edited in this space"); RNA_def_property_flag(prop, PROP_EDITABLE); + RNA_def_property_clear_flag(prop, PROP_ID_REFCOUNT); RNA_def_property_update( prop, NC_GEOM | ND_DATA,