diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2015-07-19 13:22:31 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2015-07-19 13:22:31 +0000 |
| commit | 1997b7aeecff6a01b3e319cd2a42a6029bc56ae7 (patch) | |
| tree | 25d7a6673bca4c0f8e6187dd24de3f1381fb2637 /src/display/curve.cpp | |
| parent | setStitching(), gajiosdfksdsfd (diff) | |
| download | inkscape-1997b7aeecff6a01b3e319cd2a42a6029bc56ae7.tar.gz inkscape-1997b7aeecff6a01b3e319cd2a42a6029bc56ae7.zip | |
Enable stitching in Spiro and SPCurve to prevent some crashes
(bzr r14250)
Diffstat (limited to 'src/display/curve.cpp')
| -rw-r--r-- | src/display/curve.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/display/curve.cpp b/src/display/curve.cpp index 386c63166..3024d1276 100644 --- a/src/display/curve.cpp +++ b/src/display/curve.cpp @@ -203,8 +203,9 @@ SPCurve::moveto(double x, double y) void SPCurve::moveto(Geom::Point const &p) { - _pathv.push_back( Geom::Path() ); // for some reason Geom::Path(p) does not work... - _pathv.back().start(p); + Geom::Path path(p); + path.setStitching(true); + _pathv.push_back(path); } /** |
