Revision: 43568
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43568
Author: kjym3
Date: 2012-01-20 18:03:12 +0000 (Fri, 20 Jan 2012)
Log Message:
-----------
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!
Modified Paths:
--------------
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/stroke/BasicStrokeShaders.cpp
Modified:
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/stroke/BasicStrokeShaders.cpp
===================================================================
---
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/stroke/BasicStrokeShaders.cpp
2012-01-20 17:49:17 UTC (rev 43567)
+++
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/stroke/BasicStrokeShaders.cpp
2012-01-20 18:03:12 UTC (rev 43568)
@@ -565,7 +565,7 @@
int BackboneStretcherShader::shade(Stroke& stroke) const
{
float l=stroke.getLength2D();
- if(l <= 50)
+ if(l <= 1e-6)
return 0;
StrokeInternal::StrokeVertexIterator v0=stroke.strokeVerticesBegin();
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs