diff options
author | Folkert de Vries <flokkievids@gmail.com> | 2015-01-28 01:11:31 +0300 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2015-03-09 06:53:13 +0300 |
commit | 7d38d8534024c5b4efa7165e87bfdd2032d5099a (patch) | |
tree | 2e5ebe0954db01a8094f83da9f47dab94033982c /release/scripts/freestyle/styles/curvature2d.py | |
parent | a0fa3de267f8c09ed6c7a72716d9dab49dfd4c2c (diff) |
Freestyle: Fix for references of deprecated texture stroke shaders.
Removed all references of deprecated texture shader. Also deleted
several lines of dead code.
Since texture_shader.py no longer does what it was supposed to do,
the file itself was removed.
Patch reviewed by Tamito Kajiyama (kjym3).
Diffstat (limited to 'release/scripts/freestyle/styles/curvature2d.py')
-rw-r--r-- | release/scripts/freestyle/styles/curvature2d.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/release/scripts/freestyle/styles/curvature2d.py b/release/scripts/freestyle/styles/curvature2d.py index 66c8a6c6544..faf1223b735 100644 --- a/release/scripts/freestyle/styles/curvature2d.py +++ b/release/scripts/freestyle/styles/curvature2d.py @@ -30,7 +30,6 @@ from freestyle.predicates import ( ) from freestyle.shaders import ( ConstantThicknessShader, - StrokeTextureShader, py2DCurvatureColorShader, ) from freestyle.types import Operators, Stroke @@ -39,7 +38,6 @@ from freestyle.types import Operators, Stroke Operators.select(QuantitativeInvisibilityUP1D(0)) Operators.bidirectional_chain(ChainSilhouetteIterator(), NotUP1D(QuantitativeInvisibilityUP1D(0))) shaders_list = [ - StrokeTextureShader("smoothAlpha.bmp", Stroke.OPAQUE_MEDIUM, False), ConstantThicknessShader(5), py2DCurvatureColorShader() ] |