[Bf-blender-cvs] [a845fc0d399] blender2.8: Fix gpuScaleUniform (caused strange pose-bone size)

Campbell Barton noreply at git.blender.org
Thu Apr 27 10:41:02 CEST 2017


Commit: a845fc0d399deafe54cd1f70e97a97b7588be94d
Author: Campbell Barton
Date:   Thu Apr 27 18:44:57 2017 +1000
Branches: blender2.8
https://developer.blender.org/rBa845fc0d399deafe54cd1f70e97a97b7588be94d

Fix gpuScaleUniform (caused strange pose-bone size)

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

M	source/blender/gpu/intern/gpu_matrix.c

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

diff --git a/source/blender/gpu/intern/gpu_matrix.c b/source/blender/gpu/intern/gpu_matrix.c
index c586e75c050..a24b735a5d3 100644
--- a/source/blender/gpu/intern/gpu_matrix.c
+++ b/source/blender/gpu/intern/gpu_matrix.c
@@ -357,7 +357,6 @@ void gpuScaleUniform(float factor)
 #endif
 	Mat4 m;
 	scale_m4_fl(m, factor);
-	m[2][2] = 1.0;
 	gpuMultMatrix(m);
 }




More information about the Bf-blender-cvs mailing list