From b3a7532b050af92cfab11723604b27f2b1b46f6d Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Mon, 18 Aug 2008 00:43:01 +0000 Subject: 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) --- src/pen-context.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/pen-context.cpp') 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; -- cgit v1.2.3