summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/node-tool.h
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2015-05-30 18:27:42 +0000
committerDiederik van Lierop <mail@diedenrezi.nl>2015-05-30 18:27:42 +0000
commitc4c42ebb66d55ca883ed93b2a72d26cd8a759a6d (patch)
tree37b2f5771b29ccd54c1d1428501266d5bba6057f /src/ui/tools/node-tool.h
parentUpdating gtest version with newer attributes. (diff)
downloadinkscape-c4c42ebb66d55ca883ed93b2a72d26cd8a759a6d.tar.gz
inkscape-c4c42ebb66d55ca883ed93b2a72d26cd8a759a6d.zip
Snapping in node tool now also works when:
- when double clicking to insert a node on a path - when dragging a part of the path to deform it Fixed bugs: - https://launchpad.net/bugs/1448859 (bzr r14189)
Diffstat (limited to 'src/ui/tools/node-tool.h')
-rw-r--r--src/ui/tools/node-tool.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/tools/node-tool.h b/src/ui/tools/node-tool.h
index 20375e869..d5a21e0c6 100644
--- a/src/ui/tools/node-tool.h
+++ b/src/ui/tools/node-tool.h
@@ -85,6 +85,9 @@ private:
bool show_transform_handles;
bool single_node_transform_handles;
+ std::vector<SPItem*> _current_selection;
+ std::vector<SPItem*> _previous_selection;
+
void selection_changed(Inkscape::Selection *sel);
void select_area(Geom::Rect const &sel, GdkEventButton *event);