Fix T100277: Grease pencil lines don't start at click-start
Regression in b8960267dd
.
This commit is contained in:
parent
228f7cb5ce
commit
90b2ed6c4b
Notes:
blender-bot
2023-02-14 06:00:46 +01:00
Referenced by issue #100277, Regression: Grease pencil lines don't start where i click
|
@ -1107,7 +1107,7 @@ static void gpencil_primitive_update(bContext *C, wmOperator *op, tGPDprimitive
|
|||
/* Initialize mouse points. */
|
||||
static void gpencil_primitive_interaction_begin(tGPDprimitive *tgpi, const wmEvent *event)
|
||||
{
|
||||
copy_v2fl_v2i(tgpi->mval, event->mval);
|
||||
WM_event_drag_start_mval_fl(event, tgpi->region, tgpi->mval);
|
||||
copy_v2_v2(tgpi->origin, tgpi->mval);
|
||||
copy_v2_v2(tgpi->start, tgpi->mval);
|
||||
copy_v2_v2(tgpi->end, tgpi->mval);
|
||||
|
|
Loading…
Reference in New Issue