diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-04-16 11:13:49 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-04-16 11:13:49 +0400 |
commit | 547796db531e43b7e228fc7f158931e89b090a74 (patch) | |
tree | 3aaf35222fc677c98e52706f441f8aee49a8f76a /source/blender/freestyle/intern | |
parent | 37e73aa368d7f3cd855fab0812673b484ee4f4e9 (diff) |
Fix for line instability with the Polygonization geometry modifier.
Extra long straight lines showed up randomly due to the use of an uninitialized
variable as a line length parameter.
Diffstat (limited to 'source/blender/freestyle/intern')
-rw-r--r-- | source/blender/freestyle/intern/stroke/BasicStrokeShaders.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/stroke/BasicStrokeShaders.cpp b/source/blender/freestyle/intern/stroke/BasicStrokeShaders.cpp index c507f137f4c..af3b7f09c31 100644 --- a/source/blender/freestyle/intern/stroke/BasicStrokeShaders.cpp +++ b/source/blender/freestyle/intern/stroke/BasicStrokeShaders.cpp @@ -925,6 +925,7 @@ public: CurvePiece(StrokeInternal::StrokeVertexIterator b, StrokeInternal::StrokeVertexIterator l, int iSize) { + _error = 0.0f; _begin = b; _last = l; A = Vec2d((_begin)->x(), (_begin)->y()); |