Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2010-09-28 07:26:17 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2010-09-28 07:26:17 +0400
commitd0da06e5c0c231141b7601e93de9d21270023086 (patch)
treeec71f9f98179829bff8c9a687fbf70aa3423f90f /source/blender/editors/space_image/image_ops.c
parentb2c42b8ad1bc84ac83f54630f025bd4d867100c0 (diff)
Make Cycle Render Slot actually cycle through all slots.
Diffstat (limited to 'source/blender/editors/space_image/image_ops.c')
-rw-r--r--source/blender/editors/space_image/image_ops.c4
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)