summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/pen-tool.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-03-18 18:08:42 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-03-18 18:08:42 +0000
commit0c67c166ce5fb0e447b5c957e9222610d9d0c559 (patch)
treed10c904aed7d23568444776bda67b76cd574b36f /src/ui/tools/pen-tool.cpp
parentAdded kaleidoscope mode (diff)
parentLatvian translation update (diff)
downloadinkscape-0c67c166ce5fb0e447b5c957e9222610d9d0c559.tar.gz
inkscape-0c67c166ce5fb0e447b5c957e9222610d9d0c559.zip
update to trunk
(bzr r13708.1.18)
Diffstat (limited to 'src/ui/tools/pen-tool.cpp')
-rw-r--r--src/ui/tools/pen-tool.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/ui/tools/pen-tool.cpp b/src/ui/tools/pen-tool.cpp
index 5174775c9..d28b7c27a 100644
--- a/src/ui/tools/pen-tool.cpp
+++ b/src/ui/tools/pen-tool.cpp
@@ -73,8 +73,6 @@
#include "live_effects/lpe-bspline.h"
#include <2geom/nearest-point.h>
-#include "ui/tool-factory.h"
-
#include "live_effects/effect.h"
@@ -88,13 +86,6 @@ static Geom::Point pen_drag_origin_w(0, 0);
static bool pen_within_tolerance = false;
static int pen_last_paraxial_dir = 0; // last used direction in horizontal/vertical mode; 0 = horizontal, 1 = vertical
const double handleCubicGap = 0.01;
-namespace {
- ToolBase* createPenContext() {
- return new PenTool();
- }
-
- bool penContextRegistered = ToolFactory::instance().registerObject("/tools/freehand/pen", createPenContext);
-}
const std::string& PenTool::getPrefsPath() {
return PenTool::prefsPath;