summaryrefslogtreecommitdiffstats
path: root/src/2geom/path-intersection.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2012-02-15 07:26:41 +0000
committerKris <Kris.De.Gussem@hotmail.com>2012-02-15 07:26:41 +0000
commitd3a4d543c4d6eb4151b2acad892272cbc1ea3f45 (patch)
treef02369e70e001bb296ca98f09cc8ace67100e19b /src/2geom/path-intersection.cpp
parentcppcheck (diff)
downloadinkscape-d3a4d543c4d6eb4151b2acad892272cbc1ea3f45.tar.gz
inkscape-d3a4d543c4d6eb4151b2acad892272cbc1ea3f45.zip
Synchronized 2geom to revision 2058
(bzr r10978)
Diffstat (limited to 'src/2geom/path-intersection.cpp')
-rw-r--r--src/2geom/path-intersection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/2geom/path-intersection.cpp b/src/2geom/path-intersection.cpp
index c514991d4..494a25843 100644
--- a/src/2geom/path-intersection.cpp
+++ b/src/2geom/path-intersection.cpp
@@ -117,7 +117,7 @@ bool path_direction(Path const &p) {
double y = p.initialPoint()[Y];
double x = p.initialPoint()[X];
Cmp res = cmp(p[0].finalPoint()[Y], y);
- goto doh;
+ /*goto doh;
for(unsigned i = 1; i < p.size(); i++) {
Cmp final_to_ray = cmp(p[i].finalPoint()[Y], y);
Cmp initial_to_ray = cmp(p[i].initialPoint()[Y], y);
@@ -136,7 +136,7 @@ bool path_direction(Path const &p) {
}
return res < 0;
- doh:
+ doh:*/
//Otherwise fallback on area
Piecewise<D2<SBasis> > pw = p.toPwSb();