diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2011-11-01 13:47:41 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2011-11-01 13:47:41 +0400 |
commit | ac6bdfb653fc8b4566179d3481ed89192106ceef (patch) | |
tree | 1d66cc8afe88b640a5f6421a8a789e19a7270902 /release/scripts/freestyle/style_modules/parameter_editor.py | |
parent | 12f2c06d344e61e4cd104aa25e5f6ab3b72446d0 (diff) |
Added two stroke geometry modifiers: Parameterization and Guiding Lines.
Diffstat (limited to 'release/scripts/freestyle/style_modules/parameter_editor.py')
-rw-r--r-- | release/scripts/freestyle/style_modules/parameter_editor.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/release/scripts/freestyle/style_modules/parameter_editor.py b/release/scripts/freestyle/style_modules/parameter_editor.py index 97df74c8a0c..5036fa78438 100644 --- a/release/scripts/freestyle/style_modules/parameter_editor.py +++ b/release/scripts/freestyle/style_modules/parameter_editor.py @@ -977,6 +977,12 @@ def process(layer_name, lineset_name): elif m.type == "TIP_REMOVER": shaders_list.append(TipRemoverShader( m.tip_length)) + elif m.type == "POLYGONIZATION": + shaders_list.append(PolygonalizationShader( + m.error)) + elif m.type == "GUIDING_LINES": + shaders_list.append(GuidingLinesShader( + m.offset)) color = linestyle.color shaders_list.append(ConstantColorShader(color.r, color.g, color.b, linestyle.alpha)) shaders_list.append(ConstantThicknessShader(linestyle.thickness)) |