diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2012-05-03 06:51:21 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2012-05-03 06:51:21 +0000 |
| commit | 928e90577c43842f334fbe2361c45d92ed784dc3 (patch) | |
| tree | fb8e333b43058dab91e832a7a50a0b28dbe2bc18 /src/pen-context.cpp | |
| parent | Eliminated duplication of GTK key defines. (diff) | |
| download | inkscape-928e90577c43842f334fbe2361c45d92ed784dc3.tar.gz inkscape-928e90577c43842f334fbe2361c45d92ed784dc3.zip | |
Corrected hardcoded hit detection in pen & pencil tool endpoint detection.
(bzr r11319)
Diffstat (limited to 'src/pen-context.cpp')
| -rw-r--r-- | src/pen-context.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/pen-context.cpp b/src/pen-context.cpp index b5d429914..731f31e42 100644 --- a/src/pen-context.cpp +++ b/src/pen-context.cpp @@ -228,10 +228,6 @@ static void sp_pen_context_setup(SPEventContext *ec) sp_canvas_item_hide(pc->cl0); sp_canvas_item_hide(pc->cl1); - if (pc->green_anchor) { - ControlManager::getManager().updateItem(pc->green_anchor->ctrl); - } - sp_event_context_read(ec, "mode"); pc->anchor_statusbar = false; @@ -511,9 +507,6 @@ static gint pen_handle_button_press(SPPenContext *const pc, GdkEventButton const p = event_dt; spdc_endpoint_snap(pc, p, bevent.state); pc->green_anchor = sp_draw_anchor_new(pc, pc->green_curve, TRUE, p); - { - ControlManager::getManager().updateItem(pc->green_anchor->ctrl); - } } spdc_pen_set_initial_point(pc, p); } else { |
