[Bf-blender-cvs] [6bd60292da7] blender2.8: Transform: fix glitch in the rotating gizmo drawing.

mano-wii noreply at git.blender.org
Thu Oct 4 13:25:34 CEST 2018


Commit: 6bd60292da7769adb4b0cd6a22af1b16bd071af6
Author: mano-wii
Date:   Thu Oct 4 08:22:04 2018 -0300
Branches: blender2.8
https://developer.blender.org/rB6bd60292da7769adb4b0cd6a22af1b16bd071af6

Transform: fix glitch in the rotating gizmo drawing.

===================================================================

M	source/blender/editors/transform/transform_gizmo_3d.c

===================================================================

diff --git a/source/blender/editors/transform/transform_gizmo_3d.c b/source/blender/editors/transform/transform_gizmo_3d.c
index 57447be4e88..a3f620fb3fe 100644
--- a/source/blender/editors/transform/transform_gizmo_3d.c
+++ b/source/blender/editors/transform/transform_gizmo_3d.c
@@ -1292,6 +1292,8 @@ void drawDial3d(const TransInfo *t)
 			ortho_basis_v3v3_v3(mat_basis[0], mat_basis[1], mat_basis[2]);
 		}
 
+		mat_basis[0][3] = 0.0f;
+		mat_basis[1][3] = 0.0f;
 		mat_basis[2][3] = 0.0f;
 		mat_basis[3][3] = 1.0f;



More information about the Bf-blender-cvs mailing list