diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-05-03 13:51:53 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-05-03 13:54:59 +0400 |
commit | b7f085d9c128f31d576c732c6439b5a71e8922ee (patch) | |
tree | 8a1fdc2e95470f61d9121b18b125dc272e87d536 /release/scripts/startup/bl_ui/properties_freestyle.py | |
parent | 6ec2d72eca618be05e9bf0723886b10e6d5efa46 (diff) |
Patch D246: Texture Marks for freestyle strokes, written and contributed by Paolo Acampora.
Reviewers: brecht, kjym3, #freestyle
Reviewed By: brecht, kjym3
Differential Revision: https://developer.blender.org/D246
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_freestyle.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_freestyle.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_freestyle.py b/release/scripts/startup/bl_ui/properties_freestyle.py index 63e4f4aa5f6..e979c031b43 100644 --- a/release/scripts/startup/bl_ui/properties_freestyle.py +++ b/release/scripts/startup/bl_ui/properties_freestyle.py @@ -674,6 +674,19 @@ class RENDERLAYER_PT_freestyle_linestyle(RenderLayerFreestyleEditorButtonsPanel, for modifier in linestyle.geometry_modifiers: self.draw_geometry_modifier(context, modifier) + elif linestyle.panel == 'TEXTURE': + layout.separator() + + row = layout.row() + row.prop(linestyle, "use_texture", text="Use Textures") + row.prop(linestyle, "texture_spacing", text="Spacing Along Stroke") + + row = layout.row() + op = row.operator("wm.properties_context_change", + text="Go to Linestyle Textures Properties", + icon='TEXTURE') + op.context = 'TEXTURE' + elif linestyle.panel == 'MISC': pass |