diff options
Diffstat (limited to 'src/pen-context.cpp')
| -rw-r--r-- | src/pen-context.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/pen-context.cpp b/src/pen-context.cpp index 56594bb6d..1a9f3e39f 100644 --- a/src/pen-context.cpp +++ b/src/pen-context.cpp @@ -1293,6 +1293,15 @@ pen_enable_events(SPPenContext *const pc) { pc->events_disabled--; } +void +sp_pen_context_wait_for_LPE_mouse_clicks(SPPenContext *pc, Inkscape::LivePathEffect::EffectType effect_type, + unsigned int num_clicks, bool use_polylines) +{ + pc->expecting_clicks_for_LPE = num_clicks; + pc->polylines_only = use_polylines; + pc->waiting_LPE_type = effect_type; +} + /* Local Variables: mode:c++ |
