[Bf-blender-cvs] [12b261be412] blender2.8: UI: disable view context w/ OpenGL anim render
Campbell Barton
noreply at git.blender.org
Thu May 24 18:16:12 CEST 2018
Commit: 12b261be4128f4ea407c4603e7ed6376107c308d
Author: Campbell Barton
Date: Thu May 24 18:15:10 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB12b261be4128f4ea407c4603e7ed6376107c308d
UI: disable view context w/ OpenGL anim render
The 3D view menu can GL render from a single view
===================================================================
M release/scripts/startup/bl_ui/space_topbar.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py
index cd577f446e4..ca954056109 100644
--- a/release/scripts/startup/bl_ui/space_topbar.py
+++ b/release/scripts/startup/bl_ui/space_topbar.py
@@ -570,7 +570,9 @@ class INFO_MT_render(Menu):
props = layout.operator("render.opengl", text="OpenGL Render Image")
props.view_context = False
- layout.operator("render.opengl", text="OpenGL Render Animation").animation = True
+ props = layout.operator("render.opengl", text="OpenGL Render Animation")
+ props.view_context = False
+ props.animation = True
layout.menu("INFO_MT_opengl_render")
layout.separator()
More information about the Bf-blender-cvs
mailing list