Fix compositor backdrop not updating for image invert operator #119820

Merged
Habib Gahbiche merged 1 commits from zazizizou/blender:com-fix-image-invert into main 2024-03-27 21:41:38 +01:00
1 changed files with 2 additions and 0 deletions

View File

@ -3122,6 +3122,8 @@ static int image_invert_exec(bContext *C, wmOperator *op)
BKE_image_partial_update_mark_full_update(ima);
DEG_id_tag_update(&ima->id, ID_RECALC_EDITORS);
WM_event_add_notifier(C, NC_IMAGE | NA_EDITED, ima);
BKE_image_release_ibuf(ima, ibuf, nullptr);