Fix T95699: Compostior backdrop not updated.

The Viewer marked the gpu texture to be out of date. But it should have used
the mark_full_update as the gpu textures
are only used by the render/draw engines.

The image/node editor uses the image engine that have its own GPU textures.
This commit is contained in:
Jeroen Bakker 2022-02-14 09:20:59 +01:00
parent f663a1dc09
commit f0e32ef4ff
Notes: blender-bot 2023-02-13 16:15:16 +01:00
Referenced by issue #95699, Compositing Tab - Blender does not make changes in real time
1 changed files with 4 additions and 1 deletions

View File

@ -215,7 +215,10 @@ void ViewerOperation::update_image(const rcti *rect)
rect->ymin,
rect->xmax,
rect->ymax);
image_->gpuflag |= IMA_GPU_REFRESH;
/* This could be improved to use partial updates. For now disabled as the full frame compositor
* would not use partial frames anymore and the image engine requires more testing.*/
BKE_image_partial_update_mark_full_update(image_);
this->update_draw();
}