Fix T95979: Bake doesn't update Image editor.
This commit is contained in:
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
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue