UI: move GL render to view menu

This was taking valuable header room for a rarely used operator.
This commit is contained in:
Campbell Barton 2018-05-12 14:59:51 +02:00
parent 90b2e4ce28
commit 7e74916562
1 changed files with 5 additions and 5 deletions

View File

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