Index: src/pathops/SkOpAngle.cpp |
diff --git a/src/pathops/SkOpAngle.cpp b/src/pathops/SkOpAngle.cpp |
index 2da8357add28fa5bd45694ff62f3febfb0380a34..6bc510e5ee133f85345c646016d592b2e8d1cf53 100644 |
--- a/src/pathops/SkOpAngle.cpp |
+++ b/src/pathops/SkOpAngle.cpp |
@@ -905,8 +905,10 @@ void SkOpAngle::setSpans() { |
if (verb != SkPath::kLine_Verb |
&& !(fIsCurve = fSweep[0].crossCheck(fSweep[1]) != 0)) { |
SkDLine lineHalf; |
+ fCurvePart[1] = fCurvePart[SkPathOpsVerbToPoints(verb)]; |
+ fOriginalCurvePart[1] = fCurvePart[1]; |
lineHalf[0].set(fCurvePart[0].asSkPoint()); |
- lineHalf[1].set(fCurvePart[SkPathOpsVerbToPoints(verb)].asSkPoint()); |
+ lineHalf[1].set(fCurvePart[1].asSkPoint()); |
fTangentHalf.lineEndPoints(lineHalf); |
fSide = 0; |
} |