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
path: root/intern
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-02-05 19:58:15 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-02-05 19:58:15 +0400
commitc8e0f993cdc04a5b05c3fb0e7bb5ee13e5fd13c3 (patch)
tree30d109bd05d136db7494646d59f3692b38efa292 /intern
parent9157f8f83384925aee196048a643eeb2cb22be26 (diff)
Fix cycles missing AA/alpha settings for OpenGL render, these are now in the film panel.
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/blender/addon/ui.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py
index 542262000b6..0debb549b30 100644
--- a/intern/cycles/blender/addon/ui.py
+++ b/intern/cycles/blender/addon/ui.py
@@ -168,6 +168,19 @@ class CyclesRender_PT_film(CyclesButtonsPanel, Panel):
if cscene.filter_type != 'BOX':
sub.prop(cscene, "filter_width", text="Width")
+ layout.separator()
+
+ rd = scene.render
+ col = layout.column()
+
+ split = col.split(percentage=0.40)
+ split.prop(rd, "use_antialiasing", "OpenGL AA")
+ row = split.row()
+ row.active = rd.use_antialiasing
+ row.prop(rd, "antialiasing_samples", expand=True)
+
+ col.prop(rd, "alpha_mode", text="OpenGL Alpha")
+
class CyclesRender_PT_performance(CyclesButtonsPanel, Panel):
bl_label = "Performance"