[Bf-blender-cvs] [7e749165621] blender2.8: UI: move GL render to view menu
Campbell Barton
noreply at git.blender.org
Sat May 12 15:02:28 CEST 2018
Commit: 7e749165621f7df6492d58cfefe691d809515f75
Author: Campbell Barton
Date: Sat May 12 14:59:51 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB7e749165621f7df6492d58cfefe691d809515f75
UI: move GL render to view menu
This was taking valuable header room for a rarely used operator.
===================================================================
M release/scripts/startup/bl_ui/space_view3d.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 3189a1c14b5..910081ed863 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -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")
More information about the Bf-blender-cvs
mailing list