diff options
author | Jeroen Bakker <jeroen@blender.org> | 2020-09-22 11:36:02 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2020-09-22 11:38:22 +0300 |
commit | ee89106ac12eb77e1d4722b4923247086a3b6c69 (patch) | |
tree | 71a2c8b1da7cc86abd4f37ea20bdccb853ea352c /source/blender | |
parent | 129d9f79c9052874d5732a191ea0bb84fafc3906 (diff) |
Fix T80915: Image editor only displays the first frame during 'Viewport render animation'
During viewport render animation the gpu textures weren't tagged as
invalid. As the image uv editor now draws the gpu texture only the first
was shown as it wasn't refreshed with the actual image data.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/render/render_opengl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/render/render_opengl.c b/source/blender/editors/render/render_opengl.c index 940ca963fc6..80fa8082592 100644 --- a/source/blender/editors/render/render_opengl.c +++ b/source/blender/editors/render/render_opengl.c @@ -520,6 +520,7 @@ static void screen_opengl_render_apply(const bContext *C, OGLRender *oglrender) ibuf->userflags |= IB_DISPLAY_BUFFER_INVALID; } BKE_image_release_ibuf(oglrender->ima, ibuf, lock); + oglrender->ima->gpuflag |= IMA_GPU_REFRESH; if (oglrender->write_still) { screen_opengl_render_write(oglrender); |