diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-04-12 14:19:31 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-04-12 14:19:31 +0400 |
commit | 677a96e189289b82e28f3ba391061cb610bebc0a (patch) | |
tree | 887dc4e2dee4b0e446a27c0f5e48365bc2df5143 /release/scripts | |
parent | be35762950b64727e95b674eb7bb5328f29baf36 (diff) |
add render slot cycle forward/backwards menu items.
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/space_image.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py index 48af461a82e..24850c431fe 100644 --- a/release/scripts/startup/bl_ui/space_image.py +++ b/release/scripts/startup/bl_ui/space_image.py @@ -50,6 +50,7 @@ class IMAGE_MT_view(Menu): toolsettings = context.tool_settings show_uvedit = sima.show_uvedit + show_render = sima.show_render layout.operator("image.properties", icon='MENU_PANEL') layout.operator("image.scopes", icon='MENU_PANEL') @@ -83,6 +84,11 @@ class IMAGE_MT_view(Menu): layout.separator() + if show_render: + layout.operator("image.cycle_render_slot", text="Render Slot Cycle Next") + layout.operator("image.cycle_render_slot", text="Render Slot Cycle Previous").reverse = True + layout.separator() + layout.operator("screen.area_dupli") layout.operator("screen.screen_full_area") |