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!
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user