summaryrefslogtreecommitdiffstats
path: root/src/pen-context.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-08-18 00:43:01 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-08-18 00:43:01 +0000
commitb3a7532b050af92cfab11723604b27f2b1b46f6d (patch)
tree121dbc0386eaad347e0d5124bce8e5ef094685cf /src/pen-context.cpp
parentSlightly enlarge icon for geometric tool (diff)
downloadinkscape-b3a7532b050af92cfab11723604b27f2b1b46f6d.tar.gz
inkscape-b3a7532b050af92cfab11723604b27f2b1b46f6d.zip
Add button whether to display limiting bounding box; add 'all inactive' toggle button as a workaround that not all toggle buttons can be inactive in an EgeSelectOneAction
(bzr r6673)
Diffstat (limited to 'src/pen-context.cpp')
-rw-r--r--src/pen-context.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pen-context.cpp b/src/pen-context.cpp
index 74498c6c0..b575e94f3 100644
--- a/src/pen-context.cpp
+++ b/src/pen-context.cpp
@@ -1384,9 +1384,11 @@ void
sp_pen_context_wait_for_LPE_mouse_clicks(SPPenContext *pc, Inkscape::LivePathEffect::EffectType effect_type,
unsigned int num_clicks, bool use_polylines)
{
+ if (effect_type == Inkscape::LivePathEffect::INVALID_LPE)
+ return;
+
g_print ("Now waiting for %s to be applied\n",
Inkscape::LivePathEffect::LPETypeConverter.get_label(effect_type).c_str());
- g_return_if_fail(effect_type != Inkscape::LivePathEffect::INVALID_LPE);
pc->waiting_LPE_type = effect_type;
pc->expecting_clicks_for_LPE = num_clicks;