diff options
| author | Diederik van Lierop <mailat-signdiedenrezidotnl> | 2010-02-04 21:53:33 +0000 |
|---|---|---|
| committer | Diederik van Lierop <mailat-signdiedenrezidotnl> | 2010-02-04 21:53:33 +0000 |
| commit | cebb89f6ad97feaf9016502d113776f6f2c8de14 (patch) | |
| tree | 10b586e01b21258e6dc9599040a5bf5bc1a0b229 /src/pencil-context.cpp | |
| parent | improve LPE extrude such that cusps work for closed paths too (diff) | |
| download | inkscape-cebb89f6ad97feaf9016502d113776f6f2c8de14.tar.gz inkscape-cebb89f6ad97feaf9016502d113776f6f2c8de14.zip | |
Don't discard first point in pencil's freehand mode, and add a missing return statement
Fixed bugs:
- https://launchpad.net/bugs/452174
(bzr r9052)
Diffstat (limited to 'src/pencil-context.cpp')
| -rw-r--r-- | src/pencil-context.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pencil-context.cpp b/src/pencil-context.cpp index 5aa9efbd9..328c011ff 100644 --- a/src/pencil-context.cpp +++ b/src/pencil-context.cpp @@ -622,6 +622,7 @@ spdc_set_startpoint(SPPencilContext *const pc, Geom::Point const p) pc->red_curve_is_valid = false; if (in_svg_plane(p)) { pc->p[pc->npoints++] = p; + pc->ps.push_back(p); } } |
