diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-05-06 11:57:07 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-05-06 11:58:58 +0400 |
commit | 38b512576f0fcac9a87b9558f2f9b0e7de0a4623 (patch) | |
tree | bd066bff022f12841d1c5214e4ba83da9e597946 /release/scripts | |
parent | a6f92cd29ad4585745dc0bb420cb79f1b97aeb1e (diff) |
Freestyle: minor code clean-up.
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/freestyle/modules/parameter_editor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/freestyle/modules/parameter_editor.py b/release/scripts/freestyle/modules/parameter_editor.py index a2109d72ae8..c50f86640af 100644 --- a/release/scripts/freestyle/modules/parameter_editor.py +++ b/release/scripts/freestyle/modules/parameter_editor.py @@ -1369,7 +1369,6 @@ def process(layer_name, lineset_name): elif m.type == '2D_TRANSFORM': shaders_list.append(Transform2DShader( m.pivot, m.scale_x, m.scale_y, m.angle, m.pivot_u, m.pivot_x, m.pivot_y)) - color = linestyle.color if linestyle.use_texture: has_tex = False for slot in linestyle.texture_slots: @@ -1378,6 +1377,7 @@ def process(layer_name, lineset_name): has_tex = True if has_tex: shaders_list.append(StrokeTextureStepShader(linestyle.texture_spacing)) + color = linestyle.color if (not linestyle.use_chaining) or (linestyle.chaining == 'PLAIN' and linestyle.use_same_object): thickness_position = linestyle.thickness_position else: |