diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2012-01-20 22:03:12 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2012-01-20 22:03:12 +0400 |
commit | 0634b4decde1e3ab61bfcfa3c7c44262c36f1c7f (patch) | |
tree | db7e4d865cda12c2c61221c9856874e4769dd1b7 /source/blender/freestyle | |
parent | 2453b1671798c84d497e40f17725c003c983a6d6 (diff) |
Removed a hard-coded limit that the backbone stretching effect was applied to
stokes with 2D length longer than 50. Problem report by Forrest Gimp, thanks!
Diffstat (limited to 'source/blender/freestyle')
-rwxr-xr-x | source/blender/freestyle/intern/stroke/BasicStrokeShaders.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/stroke/BasicStrokeShaders.cpp b/source/blender/freestyle/intern/stroke/BasicStrokeShaders.cpp index ec9f887d533..a342fed27e3 100755 --- a/source/blender/freestyle/intern/stroke/BasicStrokeShaders.cpp +++ b/source/blender/freestyle/intern/stroke/BasicStrokeShaders.cpp @@ -565,7 +565,7 @@ namespace StrokeShaders { int BackboneStretcherShader::shade(Stroke& stroke) const { float l=stroke.getLength2D(); - if(l <= 50) + if(l <= 1e-6) return 0; StrokeInternal::StrokeVertexIterator v0=stroke.strokeVerticesBegin(); |