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:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2013-04-11 00:20:20 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2013-04-11 00:20:20 +0400
commit384e14bc84564e2da8ecd358fc89108cae50a17e (patch)
tree8d4f59e4c4b1ab306d397c39185c924ce388512f /release/scripts/startup/bl_ui/properties_freestyle.py
parent842d0a4258a0547b3ef73bdf803d46468342b13d (diff)
Added to the Freestyle panel in the Render buttons a button to switch to the Render Layers context.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_freestyle.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_freestyle.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_freestyle.py b/release/scripts/startup/bl_ui/properties_freestyle.py
index 73ce26cc9e3..fb97dffefb9 100644
--- a/release/scripts/startup/bl_ui/properties_freestyle.py
+++ b/release/scripts/startup/bl_ui/properties_freestyle.py
@@ -60,7 +60,9 @@ class RENDER_PT_freestyle(RenderFreestyleButtonsPanel, Panel):
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