From cebb89f6ad97feaf9016502d113776f6f2c8de14 Mon Sep 17 00:00:00 2001 From: Diederik van Lierop Date: Thu, 4 Feb 2010 22:53:33 +0100 Subject: 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) --- src/pencil-context.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/pencil-context.cpp') 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); } } -- cgit v1.2.3