Fix 'Transform Extend' not identifying the correct transformation side
Caused by c59ba19c0b.
`t->mouse.imval` was being used before initialization.
This commit is contained in:
@@ -189,6 +189,10 @@ void initTransInfo(bContext *C, TransInfo *t, wmOperator *op, const wmEvent *eve
|
||||
|
||||
t->mval = mval;
|
||||
|
||||
/* Initialize this mouse variable in advance as it is required by
|
||||
* `transform_convert_frame_side_dir_get` which is called before `initMouseInput`. */
|
||||
t->mouse.imval = mval;
|
||||
|
||||
t->mode_info = nullptr;
|
||||
|
||||
t->data_len_all = 0;
|
||||
|
||||
Reference in New Issue
Block a user