Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2012-01-20 22:03:12 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2012-01-20 22:03:12 +0400
commit0634b4decde1e3ab61bfcfa3c7c44262c36f1c7f (patch)
treedb7e4d865cda12c2c61221c9856874e4769dd1b7 /source/blender/freestyle/intern/stroke
parent2453b1671798c84d497e40f17725c003c983a6d6 (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/intern/stroke')
-rwxr-xr-xsource/blender/freestyle/intern/stroke/BasicStrokeShaders.cpp2
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();