Fix T95183: Cage gizmo axis unreliable
`orient_matrix` was not initialized. Reviewed By: lichtwerk Differential Revision: https://developer.blender.org/D14167
This commit is contained in:
parent
74611e3555
commit
867e50b886
Notes:
blender-bot
2023-02-14 08:58:01 +01:00
Referenced by issue #95183, Regression: 2D transform gizmo broken/unreliable wrong axis
|
@ -683,6 +683,7 @@ static void gizmo2d_xform_invoke_prepare(const bContext *C,
|
|||
float c[3] = {mid[0], mid[1], 0.0f};
|
||||
|
||||
float orient_matrix[3][3];
|
||||
unit_m3(orient_matrix);
|
||||
|
||||
ScrArea *area = CTX_wm_area(C);
|
||||
|
||||
|
|
Loading…
Reference in New Issue