diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2022-10-03 12:18:08 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2022-10-03 12:18:08 +0300 |
commit | 83ebf6a81118650f02a6629c2bbb3f79dee7be89 (patch) | |
tree | c370b7f082480a788961b930390bf311e1c0db81 /source | |
parent | 035c237d69d196048cc2b56274aa98b04256f46c (diff) |
Fix T101564: GPencil: Selecting imprecise if transforms are animated
The check was doing with the original point and
must be the evaluated point.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_select.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_select.c b/source/blender/editors/gpencil/gpencil_select.c index a8968111d93..167bfec0b6e 100644 --- a/source/blender/editors/gpencil/gpencil_select.c +++ b/source/blender/editors/gpencil/gpencil_select.c @@ -2072,7 +2072,7 @@ static bool gpencil_generic_stroke_select(bContext *C, bGPDspoint *pt_active = (pt->runtime.pt_orig) ? pt->runtime.pt_orig : pt; /* Convert point coords to screen-space. */ - const bool is_inside = is_inside_fn(gsc.region, gpstroke_iter.diff_mat, &pt->x, user_data); + const bool is_inside = is_inside_fn(gsc.region, gpstroke_iter.diff_mat, &pt_active->x, user_data); if (strokemode == false) { const bool is_select = (pt_active->flag & GP_SPOINT_SELECT) != 0; const int sel_op_result = ED_select_op_action_deselected(sel_op, is_select, is_inside); |