Fix #104534: Image editor doesn't refresh after render.render.
buildbot/vexp-code-patch-coordinator Build done. Details
buildbot/v330-code-daily-coordinator Build done. Details

When render is triggered from python and the render result is displayed
it isn't being updated as it wasn't tagged as being invalid.

Pull Request #105480
This commit is contained in:
Jeroen Bakker 2023-03-06 08:38:53 +01:00 committed by Philipp Oeser
parent 88dcc0b176
commit c86cda24a3
1 changed files with 1 additions and 0 deletions

View File

@ -332,6 +332,7 @@ static void image_listener(const wmSpaceTypeListenerParams *params)
case ND_COMPO_RESULT:
if (ED_space_image_show_render(sima)) {
image_scopes_tag_refresh(area);
BKE_image_partial_update_mark_full_update(sima->image);
}
ED_area_tag_redraw(area);
break;