summaryrefslogtreecommitdiffstats
path: root/src/live_effects/spiro-converters.cpp
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2015-07-19 13:22:31 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2015-07-19 13:22:31 +0000
commit1997b7aeecff6a01b3e319cd2a42a6029bc56ae7 (patch)
tree25d7a6673bca4c0f8e6187dd24de3f1381fb2637 /src/live_effects/spiro-converters.cpp
parentsetStitching(), gajiosdfksdsfd (diff)
downloadinkscape-1997b7aeecff6a01b3e319cd2a42a6029bc56ae7.tar.gz
inkscape-1997b7aeecff6a01b3e319cd2a42a6029bc56ae7.zip
Enable stitching in Spiro and SPCurve to prevent some crashes
(bzr r14250)
Diffstat (limited to 'src/live_effects/spiro-converters.cpp')
-rw-r--r--src/live_effects/spiro-converters.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/live_effects/spiro-converters.cpp b/src/live_effects/spiro-converters.cpp
index 3c7bdf99e..f116d5256 100644
--- a/src/live_effects/spiro-converters.cpp
+++ b/src/live_effects/spiro-converters.cpp
@@ -64,7 +64,11 @@ ConverterSPCurve::curveto(double x1, double y1, double x2, double y2, double x3,
}
-
+ConverterPath::ConverterPath(Geom::Path &path)
+ : _path(path)
+{
+ _path.setStitching(true);
+}
void
ConverterPath::moveto(double x, double y, bool is_open)