diff options
author | Campbell Barton <campbell@blender.org> | 2022-06-02 06:30:44 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-06-02 06:55:06 +0300 |
commit | 0f73a27b76d789df04158905cba65dec0881bf12 (patch) | |
tree | cd5d83d8f632a2702947667d78c3ae20eb3b5e09 /source/blender/editors/curve/editcurve_pen.c | |
parent | ef3f33dfd3ed91b122ada7714fd1636360d12cde (diff) |
Fix T98552: Experimental Tweak Select: Curve handle tweak is difficult
When this preference is enabled, use selection behavior matching the
graph editor. We may want to make this default (see T98552).
Diffstat (limited to 'source/blender/editors/curve/editcurve_pen.c')
-rw-r--r-- | source/blender/editors/curve/editcurve_pen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/curve/editcurve_pen.c b/source/blender/editors/curve/editcurve_pen.c index fca850076ae..a98b165e99d 100644 --- a/source/blender/editors/curve/editcurve_pen.c +++ b/source/blender/editors/curve/editcurve_pen.c @@ -1655,7 +1655,7 @@ static int curve_pen_modal(bContext *C, wmOperator *op, const wmEvent *event) else if (ELEM(event->type, LEFTMOUSE)) { if (ELEM(event->val, KM_RELEASE, KM_DBL_CLICK)) { if (delete_point && !cpd->new_point && !cpd->dragging) { - if (ED_curve_editnurb_select_pick(C, event->mval, threshold_dist_px, ¶ms)) { + if (ED_curve_editnurb_select_pick(C, event->mval, threshold_dist_px, false, ¶ms)) { cpd->acted = delete_point_under_mouse(&vc, event); } } @@ -1714,7 +1714,7 @@ static int curve_pen_modal(bContext *C, wmOperator *op, const wmEvent *event) } } else if (select_point) { - ED_curve_editnurb_select_pick(C, event->mval, threshold_dist_px, ¶ms); + ED_curve_editnurb_select_pick(C, event->mval, threshold_dist_px, false, ¶ms); } } |