summaryrefslogtreecommitdiffstats
path: root/src/lpe-tool-context.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-08-18 00:48:51 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-08-18 00:48:51 +0000
commitfb3f93340baf2e4095678912370172f1f6e8f172 (patch)
tree947c5eb1818b7bf7a50da24176e9483535f92cec /src/lpe-tool-context.cpp
parentRemove debugging messages (diff)
downloadinkscape-fb3f93340baf2e4095678912370172f1f6e8f172.tar.gz
inkscape-fb3f93340baf2e4095678912370172f1f6e8f172.zip
Add mirror symmetry to geometry tool
(bzr r6690)
Diffstat (limited to 'src/lpe-tool-context.cpp')
-rw-r--r--src/lpe-tool-context.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lpe-tool-context.cpp b/src/lpe-tool-context.cpp
index 9e58e306d..44c81057c 100644
--- a/src/lpe-tool-context.cpp
+++ b/src/lpe-tool-context.cpp
@@ -44,7 +44,7 @@ static gint sp_lpetool_context_root_handler(SPEventContext *ec, GdkEvent *event)
void sp_lpetool_context_selection_changed(Inkscape::Selection *selection, gpointer data);
-const int num_subtools = 7;
+const int num_subtools = 8;
Inkscape::LivePathEffect::EffectType lpesubtools[] = {
Inkscape::LivePathEffect::INVALID_LPE, // this must be here to account for the "all inactive" action
@@ -54,6 +54,7 @@ Inkscape::LivePathEffect::EffectType lpesubtools[] = {
Inkscape::LivePathEffect::PARALLEL,
Inkscape::LivePathEffect::PERP_BISECTOR,
Inkscape::LivePathEffect::ANGLE_BISECTOR,
+ Inkscape::LivePathEffect::MIRROR_SYMMETRY,
};
static SPPenContextClass *lpetool_parent_class = 0;