Blender Git Loki
Git Commits -> Revision 0e3a2ac
Revision 0e3a2ac by Brecht Van Lommel (master) February 18, 2019, 15:52 (GMT) |
Fix T57457: animated image sequences not working in Eevee. The dependency graph now handles updating image users to point to the current frame, and tags images to be refreshed on the GPU. The image editor user is still updated outside of the dependency graph. We still do not support multiple image users using a different current frame in the same image, same as 2.7. This may require adding a GPU image texture cache to keep memory usage under control. Things like rendering an animation while the viewport stays fixed at the current frame works though. |
Commit Details:
Full Hash: 0e3a2acbfa6998b3a1ec967f3c25f7e12e0cf8fb
Parent Commit: 286c34b
Lines Changed: +169, -61
23 Modified Paths:
/source/blender/blenkernel/BKE_image.h (+5, -2) (Diff)
/source/blender/blenkernel/intern/image.c (+59, -14) (Diff)
/source/blender/blenkernel/intern/object_update.c (+0, -8) (Diff)
/source/blender/blenkernel/intern/scene.c (+1, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc (+18, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.h (+1, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+15, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.h (+1, -0) (Diff)
/source/blender/depsgraph/intern/node/deg_node_operation.cc (+2, -0) (Diff)
/source/blender/depsgraph/intern/node/deg_node_operation.h (+3, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_draw_utils.c (+3, -3) (Diff)
/source/blender/draw/engines/workbench/workbench_forward.c (+1, -1) (Diff)
/source/blender/draw/engines/workbench/workbench_materials.c (+1, -1) (Diff)
/source/blender/draw/intern/draw_manager_data.c (+1, -2) (Diff)
/source/blender/draw/modes/object_mode.c (+1, -1) (Diff)
/source/blender/draw/modes/paint_texture_mode.c (+2, -2) (Diff)
/source/blender/editors/space_image/image_buttons.c (+4, -2) (Diff)
/source/blender/editors/space_image/space_image.c (+1, -1) (Diff)
/source/blender/gpu/GPU_texture.h (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_draw.c (+20, -14) (Diff)
/source/blender/makesrna/intern/rna_image.c (+15, -5) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_environment.c (+7, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_image.c (+7, -1) (Diff)
/source/blender/blenkernel/intern/image.c (+59, -14) (Diff)
/source/blender/blenkernel/intern/object_update.c (+0, -8) (Diff)
/source/blender/blenkernel/intern/scene.c (+1, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc (+18, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.h (+1, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+15, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.h (+1, -0) (Diff)
/source/blender/depsgraph/intern/node/deg_node_operation.cc (+2, -0) (Diff)
/source/blender/depsgraph/intern/node/deg_node_operation.h (+3, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_draw_utils.c (+3, -3) (Diff)
/source/blender/draw/engines/workbench/workbench_forward.c (+1, -1) (Diff)
/source/blender/draw/engines/workbench/workbench_materials.c (+1, -1) (Diff)
/source/blender/draw/intern/draw_manager_data.c (+1, -2) (Diff)
/source/blender/draw/modes/object_mode.c (+1, -1) (Diff)
/source/blender/draw/modes/paint_texture_mode.c (+2, -2) (Diff)
/source/blender/editors/space_image/image_buttons.c (+4, -2) (Diff)
/source/blender/editors/space_image/space_image.c (+1, -1) (Diff)
/source/blender/gpu/GPU_texture.h (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_draw.c (+20, -14) (Diff)
/source/blender/makesrna/intern/rna_image.c (+15, -5) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_environment.c (+7, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_image.c (+7, -1) (Diff)