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.
This commit is contained in:
Sergey Sharybin
2016-04-20 15:02:03 +02:00
parent e50d229273
commit 48c9208d56
3 changed files with 7 additions and 1 deletions

View File

@@ -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()