diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-04-20 16:02:03 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-04-20 16:02:03 +0300 |
commit | 48c9208d56de08103e789ac5f8df0ccf19506f3e (patch) | |
tree | 94e2d3f09e2f7cc92a485754790480aec4986256 /release | |
parent | e50d2292733b8d50437a9848fc82ee0715f6dec0 (diff) |
Fix T46903: Missing Render Border Menu items
While other borders are more like a toggle, it is an intrinsic behavior
of those operators. Render Border is intrinsicly split into two operators
and trying to expose it as a toggle will end up with rather confusing
situation when shortcut listed in the menu changes depending on the
context.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_image.py | 5 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 1 |
2 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 10b4e24efd9..fbea07a317e 100644 --- a/release/scripts/startup/bl_ui/space_image.py +++ b/release/scripts/startup/bl_ui/space_image.py @@ -113,6 +113,11 @@ class IMAGE_MT_view(Menu): layout.separator() if show_render: + layout.operator("image.render_border") + layout.operator("image.clear_render_border") + + layout.separator() + 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() diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index cbcdb86c41e..8db6f81ea51 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -438,6 +438,7 @@ class VIEW3D_MT_view(Menu): layout.operator("view3d.clip_border", text="Clipping Border...") layout.operator("view3d.zoom_border", text="Zoom Border...") layout.operator("view3d.render_border", text="Render Border...").camera_only = False + layout.operator("view3d.clear_render_border") layout.separator() |