diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2022-03-28 14:11:00 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2022-03-28 17:17:30 +0300 |
commit | bac78e9bbe1fa4ab13c0fc07b35e431dfb551610 (patch) | |
tree | 90547333d70f235ff34c236b234ca259123c7358 | |
parent | 4815b9fd1603a0120f2b9abf5afa1152d45e84f5 (diff) |
Fix T96828: GPencil primitives handlers not working
Following the logic is not necessary to check the mouse button because the status has changed before.
-rw-r--r-- | source/blender/editors/gpencil/gpencil_primitive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_primitive.c b/source/blender/editors/gpencil/gpencil_primitive.c index 2715491414a..9b94d2dfd7c 100644 --- a/source/blender/editors/gpencil/gpencil_primitive.c +++ b/source/blender/editors/gpencil/gpencil_primitive.c @@ -1497,7 +1497,7 @@ static void gpencil_primitive_edit_event_handling( break; } case MOUSEMOVE: { - if ((event->val == KM_PRESS) && tgpi->sel_cp != SELECT_NONE) { + if (tgpi->sel_cp != SELECT_NONE) { if (tgpi->sel_cp == SELECT_START && tgpi->tot_stored_edges == 0) { copy_v2_v2(tgpi->start, tgpi->mval); } |