diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-06-02 02:37:15 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-06-02 02:37:15 +0400 |
commit | 67fb85b5f2da6fa448a175a386e80af19e89a3c0 (patch) | |
tree | aca6d25bdd2b0cb510bd20f03bb7f3df002a598c /release/scripts/startup/bl_ui/properties_freestyle.py | |
parent | c6d1b6c3fc27558887bc5d4c06b147398f913284 (diff) |
Added a short-cut button in the Freestyle Python Scripting mode for loading
a style module file as a text datablock and appending it to the style module
stack.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_freestyle.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_freestyle.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_freestyle.py b/release/scripts/startup/bl_ui/properties_freestyle.py index 4ed9c1f10da..04fcddf9603 100644 --- a/release/scripts/startup/bl_ui/properties_freestyle.py +++ b/release/scripts/startup/bl_ui/properties_freestyle.py @@ -161,6 +161,7 @@ class RENDERLAYER_PT_freestyle(RenderLayerFreestyleButtonsPanel, Panel): row = box.row(align=True) row.prop(module, "use", text="") row.prop(module, "script", text="") + row.operator("scene.freestyle_module_open", icon='FILESEL', text="") row.operator("scene.freestyle_module_remove", icon='X', text="") row.operator("scene.freestyle_module_move", icon='TRIA_UP', text="").direction = 'UP' row.operator("scene.freestyle_module_move", icon='TRIA_DOWN', text="").direction = 'DOWN' |