summaryrefslogtreecommitdiffstats
path: root/src/display/curve.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-07-24 23:31:44 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-07-24 23:31:44 +0000
commitfae4db6d2c975173a6768bd4984eb707265f4e43 (patch)
tree5f2a213743a58ba45d47aeb5e49f67d3e0b78981 /src/display/curve.cpp
parentastyle (diff)
parent3D box tool: the shift key must not prevent snapping of the vanishing point. ... (diff)
downloadinkscape-fae4db6d2c975173a6768bd4984eb707265f4e43.tar.gz
inkscape-fae4db6d2c975173a6768bd4984eb707265f4e43.zip
update to trunk
(bzr r13645.1.106)
Diffstat (limited to 'src/display/curve.cpp')
-rw-r--r--src/display/curve.cpp5
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);
}
/**