Fix T95979: Bake doesn't update Image editor.

This commit is contained in:
Jeroen Bakker 2022-03-01 11:20:54 +01:00
parent eec1c16200
commit 476fe7d164
Notes: blender-bot 2023-02-14 00:57:33 +01:00
Referenced by issue #95979, Baking doesn't result in an image viewer update until you move the image viewer
1 changed files with 1 additions and 0 deletions

View File

@ -317,6 +317,7 @@ static void bake_targets_refresh(BakeTargets *targets)
Image *ima = targets->images[i].image;
if (ima) {
BKE_image_partial_update_mark_full_update(ima);
LISTBASE_FOREACH (ImageTile *, tile, &ima->tiles) {
BKE_image_free_gputextures(ima);
DEG_id_tag_update(&ima->id, 0);