[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55940] trunk/blender/release/scripts/ startup/bl_ui/properties_freestyle.py: Added to the Freestyle panel in the Render buttons a button to switch to the Render Layers context .

Tamito Kajiyama rd6t-kjym at asahi-net.or.jp
Wed Apr 10 22:20:21 CEST 2013


Revision: 55940
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=55940
Author:   kjym3
Date:     2013-04-10 20:20:20 +0000 (Wed, 10 Apr 2013)
Log Message:
-----------
Added to the Freestyle panel in the Render buttons a button to switch to the Render Layers context.

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_ui/properties_freestyle.py

Modified: trunk/blender/release/scripts/startup/bl_ui/properties_freestyle.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_freestyle.py	2013-04-10 20:05:11 UTC (rev 55939)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_freestyle.py	2013-04-10 20:20:20 UTC (rev 55940)
@@ -60,7 +60,9 @@
         row.active = (rd.line_thickness_mode == 'ABSOLUTE')
         row.prop(rd, "line_thickness")
 
-        layout.label(text="Line style settings are found in the Render Layers context")
+        row = layout.row()
+        row.label(text="Line style settings are found in the Render Layers context")
+        row.operator("wm.properties_context_change", text="", icon='BUTS').context = 'RENDER_LAYER'
 
 
 # Render layer properties




More information about the Bf-blender-cvs mailing list