From 2320d2ce01fdf03373c3f489c4cdd0dcbde77ada Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Wed, 26 Mar 2025 10:27:37 +0100 Subject: [PATCH] Fix: Missing depsgraph tag in image reload operator Make the code match rna_Image_reload_update(). Ref #136537 --- source/blender/editors/space_image/image_ops.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/source/blender/editors/space_image/image_ops.cc b/source/blender/editors/space_image/image_ops.cc index 74e0d582a4f..10a8b8ffa28 100644 --- a/source/blender/editors/space_image/image_ops.cc +++ b/source/blender/editors/space_image/image_ops.cc @@ -2522,6 +2522,7 @@ static wmOperatorStatus image_reload_exec(bContext *C, wmOperator * /*op*/) BKE_image_signal(bmain, ima, iuser, IMA_SIGNAL_RELOAD); DEG_id_tag_update(&ima->id, 0); + DEG_id_tag_update(&ima->id, ID_RECALC_EDITORS | ID_RECALC_SOURCE); WM_event_add_notifier(C, NC_IMAGE | NA_EDITED, ima);