Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2014-03-15 19:47:03 +0400
committerThomas Dinges <blender@dingto.org>2014-03-15 20:37:42 +0400
commit13ae541be4d4c04986b8954c4c30c57dcda59400 (patch)
tree18205712801c2c03e3af8793d8fcb9506cb5eeb6 /release/scripts/startup/bl_ui/space_info.py
parent2097e621edcf7658895b9f6ba9cc4e51f5538369 (diff)
UI: Move OpenGL Settings (AA and Alpha) into the Info Editor render menu.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_info.py')
-rw-r--r--release/scripts/startup/bl_ui/space_info.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_info.py b/release/scripts/startup/bl_ui/space_info.py
index f5106ddfcdf..01692c9a5b7 100644
--- a/release/scripts/startup/bl_ui/space_info.py
+++ b/release/scripts/startup/bl_ui/space_info.py
@@ -233,6 +233,7 @@ class INFO_MT_render(Menu):
layout.operator("render.opengl", text="OpenGL Render Image")
layout.operator("render.opengl", text="OpenGL Render Animation").animation = True
+ layout.menu("INFO_MT_opengl_render")
layout.separator()
@@ -240,6 +241,19 @@ class INFO_MT_render(Menu):
layout.operator("render.play_rendered_anim", icon='PLAY')
+class INFO_MT_opengl_render(Menu):
+ bl_label = "OpenGL Render Options"
+
+ def draw(self, context):
+ layout = self.layout
+
+ rd = context.scene.render
+
+ layout.prop(rd, "use_antialiasing")
+ layout.prop_menu_enum(rd, "antialiasing_samples")
+ layout.prop_menu_enum(rd, "alpha_mode")
+
+
class INFO_MT_window(Menu):
bl_label = "Window"