diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-06-17 12:39:52 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-06-17 13:12:48 +0300 |
commit | 96e9caba6ef190b9f24f212d444ea60ec6defc4a (patch) | |
tree | 37fd174e34e1da18df4fbf14b5342568435aff34 /source/blender/blenloader/intern | |
parent | 4285729d4b23ef7b7f6d1917b7530e1cbbf530b1 (diff) |
Fix T63867: image sequence not updating in Eevee animation render
Diffstat (limited to 'source/blender/blenloader/intern')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 16893d92634..444d3c6a3d4 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -1952,6 +1952,7 @@ void blo_end_image_pointer_map(FileData *fd, Main *oldmain) ima->cache = newimaadr(fd, ima->cache); if (ima->cache == NULL) { ima->gpuflag = 0; + ima->gpuframenr = INT_MAX; for (i = 0; i < TEXTARGET_COUNT; i++) { ima->gputexture[i] = NULL; } @@ -4226,6 +4227,7 @@ static void direct_link_image(FileData *fd, Image *ima) /* if not restored, we keep the binded opengl index */ if (!ima->cache) { ima->gpuflag = 0; + ima->gpuframenr = INT_MAX; for (int i = 0; i < TEXTARGET_COUNT; i++) { ima->gputexture[i] = NULL; } |