UI: Move Render Preview operators to View menu
Move operators inside the "Render Preview" menu back to the View menu. This does not include "Render Viewport Keyframes", see #146749 See PR for details and screenshots. Pull Request: https://projects.blender.org/blender/blender/pulls/146756
This commit is contained in:
committed by
Pablo Vazquez
parent
4193cb4f17
commit
e77261f306
@@ -547,7 +547,11 @@ class SEQUENCER_MT_view(Menu):
|
||||
layout.menu("SEQUENCER_MT_range")
|
||||
layout.separator()
|
||||
|
||||
layout.menu("SEQUENCER_MT_view_render")
|
||||
layout.operator("render.opengl", text="Render Still Preview", icon='RENDER_STILL').sequencer = True
|
||||
props = layout.operator("render.opengl", text="Render Sequence Preview", icon='RENDER_ANIMATION')
|
||||
props.animation = True
|
||||
props.sequencer = True
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.operator("sequencer.export_subtitles", text="Export Subtitles", icon='EXPORT')
|
||||
@@ -3169,7 +3173,6 @@ classes = (
|
||||
SEQUENCER_HT_playback_controls,
|
||||
SEQUENCER_MT_editor_menus,
|
||||
SEQUENCER_MT_range,
|
||||
SEQUENCER_MT_view_render,
|
||||
SEQUENCER_MT_view,
|
||||
SEQUENCER_MT_preview_zoom,
|
||||
SEQUENCER_MT_proxy,
|
||||
|
||||
@@ -1481,7 +1481,17 @@ class VIEW3D_MT_view(Menu):
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.menu("VIEW3D_MT_view_render")
|
||||
layout.operator(
|
||||
"render.opengl",
|
||||
text="Render Viewport Preview",
|
||||
icon='RENDER_STILL',
|
||||
)
|
||||
layout.operator(
|
||||
"render.opengl",
|
||||
text="Render Playblast",
|
||||
icon='RENDER_ANIMATION',
|
||||
).animation = True
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.menu("INFO_MT_area")
|
||||
@@ -1639,31 +1649,6 @@ class VIEW3D_MT_view_regions(Menu):
|
||||
layout.operator("view3d.clear_render_border")
|
||||
|
||||
|
||||
class VIEW3D_MT_view_render(Menu):
|
||||
bl_label = "Render Preview"
|
||||
|
||||
def draw(self, _context):
|
||||
layout = self.layout
|
||||
layout.operator(
|
||||
"render.opengl",
|
||||
text="Render Viewport Image",
|
||||
icon='RENDER_STILL',
|
||||
)
|
||||
layout.operator(
|
||||
"render.opengl",
|
||||
text="Render Viewport Animation",
|
||||
icon='RENDER_ANIMATION',
|
||||
).animation = True
|
||||
|
||||
layout.separator()
|
||||
props = layout.operator(
|
||||
"render.opengl",
|
||||
text="Render Viewport Keyframes",
|
||||
)
|
||||
props.animation = True
|
||||
props.render_keyed_only = True
|
||||
|
||||
|
||||
# ********** Select menus, suffix from context.mode **********
|
||||
|
||||
class VIEW3D_MT_select_object_more_less(Menu):
|
||||
@@ -9152,7 +9137,6 @@ classes = (
|
||||
VIEW3D_MT_view_align_selected,
|
||||
VIEW3D_MT_view_viewpoint,
|
||||
VIEW3D_MT_view_regions,
|
||||
VIEW3D_MT_view_render,
|
||||
VIEW3D_MT_select_object,
|
||||
VIEW3D_MT_select_object_more_less,
|
||||
VIEW3D_MT_select_pose,
|
||||
|
||||
Reference in New Issue
Block a user