[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [40137] branches/soc-2008-mxcurioni/source /blender/freestyle/intern/stroke/StrokeRep.cpp: Fix for a minor inconsistency in the use of stroke thickness values in

Tamito Kajiyama rd6t-kjym at asahi-net.or.jp
Mon Sep 12 00:28:15 CEST 2011


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))




More information about the Bf-blender-cvs mailing list