diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-03-10 22:01:53 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-03-10 22:04:59 +0300 |
commit | 26d7b6c51792e0b601ae24e88308eaefb66e3b8b (patch) | |
tree | d70d677a7da73c9034a7eb99b9c452ebdcfed31d /source/blender/editors/space_image/space_image.c | |
parent | 56c0a3faef74658fec4769d986253023958e6c36 (diff) |
Fix T43831: Image Editor: Render info not displayed
Issue was caused by b62c2a9 and root of it goes to the fact that text
info is stored in the "main" scene, not the currently rendering one.
This is a bit annoying but making it so text and result are coming
from the same scene is a bit dangerous to do now. Will re-visit this
change after the release and see if it might be done in a more clear
fashion.
Diffstat (limited to 'source/blender/editors/space_image/space_image.c')
-rw-r--r-- | source/blender/editors/space_image/space_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_image/space_image.c b/source/blender/editors/space_image/space_image.c index af1502509f5..bd3d76bbaba 100644 --- a/source/blender/editors/space_image/space_image.c +++ b/source/blender/editors/space_image/space_image.c @@ -693,7 +693,7 @@ static void image_main_area_draw(const bContext *C, ARegion *ar) /* put scene context variable in iuser */ if (sima->image && sima->image->type == IMA_TYPE_R_RESULT) { /* for render result, try to use the currently rendering scene */ - Scene *render_scene = ED_render_job_get_scene(C); + Scene *render_scene = ED_render_job_get_current_scene(C); if (render_scene) sima->iuser.scene = render_scene; else |