diff options
| author | Liam P. White <inkscapebrony@gmail.com> | 2015-07-16 11:56:04 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebrony@gmail.com> | 2015-07-16 11:56:04 +0000 |
| commit | b8027c4442f0e93903ff96c49fbd0c0e4d1444e3 (patch) | |
| tree | 6b5754673330ac3fa2b7c61bbf760dda59f346c5 /src/helper/geom-pathstroke.cpp | |
| parent | Update 2Geom to r2421, fix SBasis derivatives. (diff) | |
| download | inkscape-b8027c4442f0e93903ff96c49fbd0c0e4d1444e3.tar.gz inkscape-b8027c4442f0e93903ff96c49fbd0c0e4d1444e3.zip | |
setStitching(), gajiosdfksdsfd
(bzr r14249)
Diffstat (limited to 'src/helper/geom-pathstroke.cpp')
| -rw-r--r-- | src/helper/geom-pathstroke.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/helper/geom-pathstroke.cpp b/src/helper/geom-pathstroke.cpp index e5f207c66..c73a9e9e7 100644 --- a/src/helper/geom-pathstroke.cpp +++ b/src/helper/geom-pathstroke.cpp @@ -647,7 +647,7 @@ Geom::Path half_outline(Geom::Path const& input, double width, double miter, Lin const size_t k = (input.back_closed().isDegenerate() && input.closed()) ?input.size_default()-1:input.size_default(); for (size_t u = 0; u < k; u += 2) { - temp = Geom::Path(); + temp.clear(); offset_curve(temp, &input[u], width); @@ -661,7 +661,7 @@ Geom::Path half_outline(Geom::Path const& input, double width, double miter, Lin // odd number of paths if (u < k - 1) { - temp = Geom::Path(); + temp.clear(); offset_curve(temp, &input[u+1], width); tangents(tang, input[u], input[u+1]); outline_join(res, temp, tang[0], tang[1], width, miter, join); @@ -671,7 +671,7 @@ Geom::Path half_outline(Geom::Path const& input, double width, double miter, Lin if (input.closed()) { Geom::Curve const &c1 = res.back(); Geom::Curve const &c2 = res.front(); - temp = Geom::Path(); + temp.clear(); temp.append(c1); Geom::Path temp2; temp2.append(c2); |
