UI: move GL render to view menu
This was taking valuable header room for a rarely used operator.
This commit is contained in:
parent
90b2e4ce28
commit
7e74916562
|
@ -136,11 +136,6 @@ class VIEW3D_HT_header(Header):
|
|||
if (mode == 'EDIT' and obj.type == 'MESH'):
|
||||
layout.prop(toolsettings, "use_mesh_automerge", text="", icon='AUTOMERGE_ON')
|
||||
|
||||
# OpenGL render
|
||||
row = layout.row(align=True)
|
||||
row.operator("render.opengl", text="", icon='RENDER_STILL')
|
||||
row.operator("render.opengl", text="", icon='RENDER_ANIMATION').animation = True
|
||||
|
||||
# Pose
|
||||
if obj and mode == 'POSE':
|
||||
row = layout.row(align=True)
|
||||
|
@ -491,6 +486,11 @@ class VIEW3D_MT_view(Menu):
|
|||
|
||||
layout.separator()
|
||||
|
||||
layout.operator("render.opengl", icon='RENDER_STILL')
|
||||
layout.operator("render.opengl", text="OpenGL Render (Animation)", icon='RENDER_ANIMATION').animation = True
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.operator("screen.area_dupli")
|
||||
layout.operator("screen.region_quadview")
|
||||
layout.operator("screen.screen_full_area")
|
||||
|
|
Loading…
Reference in New Issue