[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55529] trunk/blender/intern/cycles/ blender/addon/ui.py: Cycles:
Thomas Dinges
blender at dingto.org
Sat Mar 23 08:09:05 CET 2013
Revision: 55529
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=55529
Author: dingto
Date: 2013-03-23 07:09:04 +0000 (Sat, 23 Mar 2013)
Log Message:
-----------
Cycles:
* Move OpenGL settings out of the film panel into its own.
Imho these should go completely elsewhere, but better separated than mixed with Cycles settings.
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-03-23 06:55:59 UTC (rev 55528)
+++ trunk/blender/intern/cycles/blender/addon/ui.py 2013-03-23 07:09:04 UTC (rev 55529)
@@ -168,20 +168,7 @@
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'}
@@ -232,7 +219,28 @@
sub.label(text="Final Render:")
sub.prop(rd, "use_persistent_data", text="Persistent Images")
+
+class CyclesRender_PT_opengl(CyclesButtonsPanel, Panel):
+ bl_label = "OpenGL Render"
+ def draw(self, context):
+ layout = self.layout
+
+ rd = context.scene.render
+
+ split = layout.split()
+
+ col = split.column()
+ col.prop(rd, "use_antialiasing")
+ sub = col.row()
+ sub.active = rd.use_antialiasing
+ sub.prop(rd, "antialiasing_samples", expand=True)
+
+ col = split.column()
+ col.label(text="Alpha:")
+ col.prop(rd, "alpha_mode", text="")
+
+
class CyclesRender_PT_layers(CyclesButtonsPanel, Panel):
bl_label = "Layers"
bl_options = {'DEFAULT_CLOSED'}
More information about the Bf-blender-cvs
mailing list