diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-08-21 15:10:16 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-08-21 15:10:16 +0400 |
commit | f8db7ccb62cf2dbd26d4b6d9b89d6b3839a2b96a (patch) | |
tree | 527a8d0e7fb4eab8f4b376df2c051456e0d76ca0 /source/blender/blenkernel | |
parent | ae9f5239a6c5dc120d13076bf90053f63b986c8b (diff) |
fix for bug with render slots - where the menus wouldnt only show layers from the last render which could be meaningless in different render slots.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/image.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/image.c b/source/blender/blenkernel/intern/image.c index d84c20f7a94..2b2128439c7 100644 --- a/source/blender/blenkernel/intern/image.c +++ b/source/blender/blenkernel/intern/image.c @@ -2145,7 +2145,9 @@ RenderResult *BKE_image_acquire_renderresult(Scene *scene, Image *ima) void BKE_image_release_renderresult(Scene *scene, Image *ima) { - if (ima->rr) ; + if (ima->rr) { + /* pass */ + } else if (ima->type == IMA_TYPE_R_RESULT) { if (ima->render_slot == ima->last_render_slot) RE_ReleaseResult(RE_GetRender(scene->id.name)); |