| Index: src/pathops/SkOpAngle.cpp
|
| diff --git a/src/pathops/SkOpAngle.cpp b/src/pathops/SkOpAngle.cpp
|
| index b3a188c1e82307434d848e08dabbab16c6806e03..0c87d3ba9e840939bea323d5a6f6ba456e89b0c3 100644
|
| --- a/src/pathops/SkOpAngle.cpp
|
| +++ b/src/pathops/SkOpAngle.cpp
|
| @@ -409,12 +409,7 @@
|
| for (int index = 0; index < 2; ++index) {
|
| const SkOpSegment& segment = index ? *rh.fSegment : *fSegment;
|
| SkIntersections i;
|
| - int cPts = index ? rPts : lPts;
|
| - (*CurveIntersectRay[cPts])(segment.pts(), rays[index], &i);
|
| - // if the curve is a line, then the line and the ray intersect only at their crossing
|
| - if (cPts == 1) { // line
|
| - continue;
|
| - }
|
| + (*CurveIntersectRay[index ? rPts : lPts])(segment.pts(), rays[index], &i);
|
| // SkASSERT(i.used() >= 1);
|
| // if (i.used() <= 1) {
|
| // continue;
|
| @@ -662,7 +657,7 @@
|
| }
|
| SkOpAngle* next = fNext;
|
| if (next->fNext == this) {
|
| - if (angle->overlap(*this)) { // angles are essentially coincident
|
| + if (angle->overlap(*this)) {
|
| return;
|
| }
|
| if (singleton || angle->after(this)) {
|
| @@ -782,7 +777,7 @@
|
| working = next;
|
| } while (working != angle);
|
| // it's likely that a pair of the angles are unorderable
|
| -#if 0 && DEBUG_ANGLE
|
| +#if DEBUG_ANGLE
|
| SkOpAngle* last = angle;
|
| working = angle->fNext;
|
| do {
|
|
|