summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/pencil-tool.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2014-03-20 02:27:13 +0000
committerJabiertxof <jtx@jtx.marker.es>2014-03-20 02:27:13 +0000
commit9c0d852d84da8af9cbb07ee2ed0488390225f126 (patch)
tree08f57351249cada5230c0e8057b3836189cbac58 /src/ui/tools/pencil-tool.cpp
parentupdate to trunk (diff)
downloadinkscape-9c0d852d84da8af9cbb07ee2ed0488390225f126.tar.gz
inkscape-9c0d852d84da8af9cbb07ee2ed0488390225f126.zip
Full refactor of path continuations in bspline-spirolive mode, I think no more suv mac crashes, but need to be full tested again because a lot of things changed.
(bzr r11950.1.308)
Diffstat (limited to 'src/ui/tools/pencil-tool.cpp')
-rw-r--r--src/ui/tools/pencil-tool.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/tools/pencil-tool.cpp b/src/ui/tools/pencil-tool.cpp
index 1ccdee637..8fe01a852 100644
--- a/src/ui/tools/pencil-tool.cpp
+++ b/src/ui/tools/pencil-tool.cpp
@@ -203,6 +203,7 @@ gint PencilTool::_handleButtonPress(GdkEventButton const &bevent) {
}
if (anchor) {
p = anchor->dp;
+ this->sc = anchor->curve;
desktop->messageStack()->flash(Inkscape::NORMAL_MESSAGE, _("Continuing selected path"));
} else {
m.setup(desktop);
@@ -380,6 +381,7 @@ gint PencilTool::_handleButtonRelease(GdkEventButton const &revent) {
/* Finish segment now */
if (anchor) {
p = anchor->dp;
+ this->ec = anchor->curve;
} else {
this->_endpointSnap(p, revent.state);
}
@@ -406,6 +408,7 @@ gint PencilTool::_handleButtonRelease(GdkEventButton const &revent) {
/// \todo fixme: Clean up what follows (Lauris)
if (anchor) {
p = anchor->dp;
+ this->ec = anchor->curve;
} else {
Geom::Point p_end = p;
this->_endpointSnap(p_end, revent.state);