[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [53888] branches/soc-2008-mxcurioni/source /blender/freestyle/intern/geometry/GeomUtils.cpp: Removed unused variable d2 and calculation of its value in GeomUtils:: intersect2dSeg2dSegParametric().

Tamito Kajiyama rd6t-kjym at asahi-net.or.jp
Fri Jan 18 03:22:54 CET 2013


Revision: 53888
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=53888
Author:   kjym3
Date:     2013-01-18 02:22:51 +0000 (Fri, 18 Jan 2013)
Log Message:
-----------
Removed unused variable d2 and calculation of its value in GeomUtils::intersect2dSeg2dSegParametric().
It is double-checked that this is not a bug :)
This fix was suggested as part of the patch set committed in revision 53887, thanks again Bastien!

Revision Links:
--------------
    http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=53887

Modified Paths:
--------------
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/geometry/GeomUtils.cpp

Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/geometry/GeomUtils.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/geometry/GeomUtils.cpp	2013-01-18 02:13:36 UTC (rev 53887)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/geometry/GeomUtils.cpp	2013-01-18 02:22:51 UTC (rev 53888)
@@ -185,10 +185,9 @@
 	if (fabs(denom) < epsilon)
 		return (COLINEAR);
 
-	real d1, d2, e1;
+	real d1, e1;
 
 	d1 = p1[1] - p3[1];
-	d2 = p2[1] - p1[1];
 	e1 = p1[0] - p3[0];
 
 	num = -b2 * d1 - a2 * e1;




More information about the Bf-blender-cvs mailing list