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.
This commit is contained in:
Bastien Montagne
2025-08-04 17:56:45 +02:00
parent 0e52304772
commit 6dbcc84cc0

View File

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