Revision: 40137
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=40137
Author: kjym3
Date: 2011-09-11 22:28:12 +0000 (Sun, 11 Sep 2011)
Log Message:
-----------
Fix for a minor inconsistency in the use of stroke thickness values in
Strip::createStrip().
Modified Paths:
--------------
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/stroke/StrokeRep.cpp
Modified:
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/stroke/StrokeRep.cpp
===================================================================
---
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/stroke/StrokeRep.cpp
2011-09-11 21:46:24 UTC (rev 40136)
+++
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/stroke/StrokeRep.cpp
2011-09-11 22:28:12 UTC (rev 40137)
@@ -236,7 +236,7 @@
_vertices[i-2]->setPoint2d(p+thickness[1]*stripDir);
vec_tmp = _vertices[i-1]->point2d()-p;
- if ((vec_tmp.norm() > thickness[1]*MAX_RATIO_LENGTH_SINGU) ||
+ if ((vec_tmp.norm() > thickness[0]*MAX_RATIO_LENGTH_SINGU) ||
(dirNorm<ZERO) || (dirPrevNorm<ZERO) ||
notValid(_vertices[i-1]->point2d())
|| (fabs(stripDir * dir)<EPS_SINGULARITY_RENDERER))
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs