diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2010-09-28 07:26:17 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2010-09-28 07:26:17 +0400 |
commit | d0da06e5c0c231141b7601e93de9d21270023086 (patch) | |
tree | ec71f9f98179829bff8c9a687fbf70aa3423f90f /source/blender | |
parent | b2c42b8ad1bc84ac83f54630f025bd4d867100c0 (diff) |
Make Cycle Render Slot actually cycle through all slots.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/space_image/image_ops.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_image/image_ops.c b/source/blender/editors/space_image/image_ops.c index 5a7e2e6fa1b..df11d082c93 100644 --- a/source/blender/editors/space_image/image_ops.c +++ b/source/blender/editors/space_image/image_ops.c @@ -2062,6 +2062,10 @@ static int cycle_render_slot_exec(bContext *C, wmOperator *op) ima->render_slot= slot; break; } + else if((slot - 1) == ima->last_render_slot && slot < IMA_MAX_RENDER_SLOT) { + ima->render_slot= slot; + break; + } } if(a == IMA_MAX_RENDER_SLOT) |