Index: src/pathops/SkOpSegment.cpp |
diff --git a/src/pathops/SkOpSegment.cpp b/src/pathops/SkOpSegment.cpp |
index 1a965c24746acd92664844927d81f4af588dbd35..9ab240d2cbf5cd179fcf111e45a410f01fa6e0de 100644 |
--- a/src/pathops/SkOpSegment.cpp |
+++ b/src/pathops/SkOpSegment.cpp |
@@ -249,7 +249,7 @@ SkOpPtT* SkOpSegment::addT(double t) { |
SkOpSpanBase* spanBase = &fHead; |
do { |
SkOpPtT* result = spanBase->ptT(); |
- if (t == result->fT || this->match(result, this, t, pt)) { |
+ if (t == result->fT || (!zero_or_one(t) && this->match(result, this, t, pt))) { |
spanBase->bumpSpanAdds(); |
return result; |
} |