summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/pen-tool.cpp
diff options
context:
space:
mode:
authorroot <root@jtx.marker.es>2014-03-06 14:21:30 +0000
committerroot <root@jtx.marker.es>2014-03-06 14:21:30 +0000
commiteb7c3f5dc2737bb22388b040f857117c3a25da6f (patch)
tree639cc413924b8378ade763f92a035afecf48d537 /src/ui/tools/pen-tool.cpp
parentupdate to trunk (diff)
downloadinkscape-eb7c3f5dc2737bb22388b040f857117c3a25da6f.tar.gz
inkscape-eb7c3f5dc2737bb22388b040f857117c3a25da6f.zip
Fixed a bug when click over the previuos node in bspline/spiro mode
(bzr r11950.1.285)
Diffstat (limited to 'src/ui/tools/pen-tool.cpp')
-rw-r--r--src/ui/tools/pen-tool.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ui/tools/pen-tool.cpp b/src/ui/tools/pen-tool.cpp
index e3bbc72b1..d79803644 100644
--- a/src/ui/tools/pen-tool.cpp
+++ b/src/ui/tools/pen-tool.cpp
@@ -384,7 +384,6 @@ gint PenTool::_handleButtonPress(GdkEventButton const &bevent) {
//with this we avoid creating a new point over the existing one
if(bevent.button != 3 && (this->spiro || this->bspline) && this->npoints > 0 && this->p[0] == this->p[3]){
- this->state = PenTool::STOP;
if( anchor && anchor == this->sa && this->green_curve->is_empty()){
//remove the following line to avoid having one node on top of another
_finishSegment(event_dt, bevent.state);