summaryrefslogtreecommitdiffstats
path: root/src/2geom/basic-intersection.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2007-11-12 19:47:07 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2007-11-12 19:47:07 +0000
commitbd91c05befcd0db146a9f8ae604e6b7a2efdbe78 (patch)
tree23e7c6c7a1deb478f032b54dafc0609a47c5724c /src/2geom/basic-intersection.cpp
parentLPE: no longer overload doEffect methods, but name them according to accepted... (diff)
downloadinkscape-bd91c05befcd0db146a9f8ae604e6b7a2efdbe78.tar.gz
inkscape-bd91c05befcd0db146a9f8ae604e6b7a2efdbe78.zip
update to 2geom rev. 1168
(bzr r4068)
Diffstat (limited to '')
-rw-r--r--src/2geom/basic-intersection.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/2geom/basic-intersection.cpp b/src/2geom/basic-intersection.cpp
index 694760d5a..0d84ee7f3 100644
--- a/src/2geom/basic-intersection.cpp
+++ b/src/2geom/basic-intersection.cpp
@@ -1,5 +1,7 @@
#include "basic-intersection.h"
+unsigned intersect_steps = 0;
+
using std::vector;
namespace Geom {
@@ -224,6 +226,7 @@ void recursively_intersect( OldBezier a, double t0, double t1, int deptha,
OldBezier b, double u0, double u1, int depthb,
std::vector<std::pair<double, double> > &parameters)
{
+ intersect_steps ++;
if( deptha > 0 )
{
OldBezier A[2];