summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pencil-context.cpp1
-rw-r--r--src/shape-editor.cpp1
2 files changed, 2 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);
}
}
diff --git a/src/shape-editor.cpp b/src/shape-editor.cpp
index e3b6d65c2..1962b710c 100644
--- a/src/shape-editor.cpp
+++ b/src/shape-editor.cpp
@@ -234,6 +234,7 @@ bool ShapeEditor::knot_mouseover()
if (this->knotholder) {
return knotholder->knot_mouseover();
}
+ return false;
}
/*