Fix #34779: Channels disappear from multilayer exr sequence
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 27 Mar 2013 11:26:10 +0000 (11:26 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 27 Mar 2013 11:26:10 +0000 (11:26 +0000)
commit68d8c6ad3d9aa54219da9bce4abdb4bc424a3154
treed1cb04bc8ebe7575f2a62e23a6fe272976687908
parentcb6f4160cce25fb3f233e0e0a623d035836caa32
Fix #34779: Channels disappear from multilayer exr sequence

Issue was caused by delayed or missing image user frame
number update, which lead to image loading failure in
cases node is updating from image signal callback.

Solved in a way that file from image datablock is used
for sockets detection instead of loading image for
current frame.
source/blender/blenkernel/BKE_image.h
source/blender/blenkernel/intern/image.c
source/blender/nodes/composite/nodes/node_composite_image.c