diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-08-18 00:34:50 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-08-18 00:34:50 +0000 |
| commit | 5894666c2b7d5c580dba41acca27bd012b07db19 (patch) | |
| tree | 1ad9f5ae18143158968e4461b92ca39f94b8bcbb /src/widgets/toolbox.cpp | |
| parent | Groundwork for new LPETool tool (which consists of subtools that are construc... (diff) | |
| download | inkscape-5894666c2b7d5c580dba41acca27bd012b07db19.tar.gz inkscape-5894666c2b7d5c580dba41acca27bd012b07db19.zip | |
Let LPEToolContext derive from PenContext so that we can use its LPE framework
(bzr r6646)
Diffstat (limited to 'src/widgets/toolbox.cpp')
| -rw-r--r-- | src/widgets/toolbox.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index 18becfdb6..2a8f14a78 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -4802,7 +4802,9 @@ static void sp_lpetool_mode_changed(EgeSelectOneAction *act, GObject *tbl) case 1: // circle through 3 points g_print ("circle through 3 points\n"); - sp_pen_context_put_into_waiting_mode(desktop, Inkscape::LivePathEffect::CIRCLE_3PTS, 3); + //sp_pen_context_put_into_waiting_mode(desktop, Inkscape::LivePathEffect::CIRCLE_3PTS, 3); + sp_pen_context_wait_for_LPE_mouse_clicks(SP_PEN_CONTEXT(desktop->event_context), Inkscape::LivePathEffect::CIRCLE_3PTS, 3); + //sp_pen_context_put_into_waiting_mode(desktop, Inkscape::LivePathEffect::CIRCLE_3PTS, 3); break; default: // don't do anything |
