Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Antalik <richardantalik@gmail.com>2022-02-23 16:25:00 +0300
committerRichard Antalik <richardantalik@gmail.com>2022-02-23 16:25:00 +0300
commit867e50b8862c0c14ef37479a5e0ed8057fd3f637 (patch)
treee30d9a12b86f0588f3c6ffd7d28cb761ffa17513 /source/blender/editors
parent74611e3555684a22e9a07bd0992a444b571b8083 (diff)
Fix T95183: Cage gizmo axis unreliable
`orient_matrix` was not initialized. Reviewed By: lichtwerk Differential Revision: https://developer.blender.org/D14167
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/transform/transform_gizmo_2d.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform_gizmo_2d.c b/source/blender/editors/transform/transform_gizmo_2d.c
index c3a0e4b1163..d843195b803 100644
--- a/source/blender/editors/transform/transform_gizmo_2d.c
+++ b/source/blender/editors/transform/transform_gizmo_2d.c
@@ -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);