Skip to content
Snippets Groups Projects
Commit bac78e9b authored by Antonio Vazquez's avatar Antonio Vazquez Committed by Philipp Oeser
Browse files

Fix T96828: GPencil primitives handlers not working

Following the logic is not necessary to check the mouse button because the status has changed before.
parent 4815b9fd
No related branches found
Tags
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment