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/anisotropic_diffusion.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/anisotropic_diffusion.py')
-rw-r--r-- | release/scripts/freestyle/styles/anisotropic_diffusion.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/release/scripts/freestyle/styles/anisotropic_diffusion.py b/release/scripts/freestyle/styles/anisotropic_diffusion.py index 946c111e44a..fc136b23d82 100644 --- a/release/scripts/freestyle/styles/anisotropic_diffusion.py +++ b/release/scripts/freestyle/styles/anisotropic_diffusion.py @@ -34,7 +34,6 @@ from freestyle.shaders import ( ConstantThicknessShader, IncreasingColorShader, SamplingShader, - StrokeTextureShader, pyDiffusion2Shader, ) from freestyle.types import Operators, Stroke @@ -50,7 +49,6 @@ bpred = TrueBP1D() Operators.bidirectional_chain(ChainPredicateIterator(upred, bpred), NotUP1D(upred)) shaders_list = [ ConstantThicknessShader(4), - StrokeTextureShader("smoothAlpha.bmp", Stroke.OPAQUE_MEDIUM, False), SamplingShader(2), pyDiffusion2Shader(offset, nbIter), IncreasingColorShader(1, 0, 0, 1, 0, 1, 0, 1), |