summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/mesh-tool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/tools/mesh-tool.cpp')
-rw-r--r--src/ui/tools/mesh-tool.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ui/tools/mesh-tool.cpp b/src/ui/tools/mesh-tool.cpp
index 703e57ac8..e94da4813 100644
--- a/src/ui/tools/mesh-tool.cpp
+++ b/src/ui/tools/mesh-tool.cpp
@@ -73,14 +73,14 @@ const std::string MeshTool::prefsPath = "/tools/mesh";
MeshTool::MeshTool()
: ToolBase(cursor_gradient_xpm)
+// TODO: Why are these connections stored as pointers?
+ , selcon(NULL)
+ , subselcon(NULL)
, cursor_addnode(false)
, node_added(false)
, show_handles(true)
, edit_fill(true)
, edit_stroke(true)
-// TODO: Why are these connections stored as pointers?
- , selcon(NULL)
- , subselcon(NULL)
{
// TODO: This value is overwritten in the root handler
this->tolerance = 6;
@@ -1060,7 +1060,6 @@ static void sp_mesh_new_default(MeshTool &rc) {
SPDesktop *desktop = SP_EVENT_CONTEXT(&rc)->desktop;
Inkscape::Selection *selection = desktop->getSelection();
SPDocument *document = desktop->getDocument();
- ToolBase *ec = SP_EVENT_CONTEXT(&rc);
if (!selection->isEmpty()) {