[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [54335] trunk/blender/intern/cycles/ blender/addon/ui.py: Fix cycles missing AA/alpha settings for OpenGL render , these are now in the film panel.

Brecht Van Lommel brechtvanlommel at pandora.be
Tue Feb 5 16:58:15 CET 2013


Revision: 54335
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=54335
Author:   blendix
Date:     2013-02-05 15:58:15 +0000 (Tue, 05 Feb 2013)
Log Message:
-----------
Fix cycles missing AA/alpha settings for OpenGL render, these are now in the film panel.

Modified Paths:
--------------
    trunk/blender/intern/cycles/blender/addon/ui.py

Modified: trunk/blender/intern/cycles/blender/addon/ui.py
===================================================================
--- trunk/blender/intern/cycles/blender/addon/ui.py	2013-02-05 15:52:40 UTC (rev 54334)
+++ trunk/blender/intern/cycles/blender/addon/ui.py	2013-02-05 15:58:15 UTC (rev 54335)
@@ -168,7 +168,20 @@
         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"
     bl_options = {'DEFAULT_CLOSED'}




More information about the Bf-blender-cvs mailing list