Fix #37261 Rendering a Render Layer from another scene doesn't update.
authorLukas Toenne <lukas.toenne@googlemail.com>
Thu, 31 Oct 2013 17:20:31 +0000 (17:20 +0000)
committerLukas Toenne <lukas.toenne@googlemail.com>
Thu, 31 Oct 2013 17:20:31 +0000 (17:20 +0000)
commitc9fdec14f5114c2ea34fc8e0c301ba83be0630ac
tree7f13dda14e1c0f310a4caf67ad6777022d258ba8
parentbeae4f498da5a730889e9deb17455263a6e2f054
Fix #37261 Rendering a Render Layer from another scene doesn't update.

The scene pointer used for looking up the appropriate source of render result images in the image editor was always taken from context. This means that render results for a different scene would never be
displayed in the image editor.

To give feedback on running renders, try to get the running render job's scene pointer in the image editor for render result type images. This only happens during rendering, apart from that the regular
context scene result is displayed.
source/blender/editors/include/ED_render.h
source/blender/editors/render/render_internal.c
source/blender/editors/space_image/space_image.c
source/blender/windowmanager/WM_api.h
source/blender/windowmanager/intern/wm_jobs.c