[Bf-blender-cvs] [cc1a64b] master: Math lib: Fix use function of wrong dimension
Sergey Sharybin
noreply at git.blender.org
Tue Nov 29 10:32:37 CET 2016
Commit: cc1a64be36f3dc862ad83ee3f4730a2b4c5649fd
Author: Sergey Sharybin
Date: Tue Nov 29 10:31:54 2016 +0100
Branches: master
https://developer.blender.org/rBcc1a64be36f3dc862ad83ee3f4730a2b4c5649fd
Math lib: Fix use function of wrong dimension
Seems to be a typo in recent commit e1e49fd.
===================================================================
M source/blender/blenlib/intern/math_geom.c
===================================================================
diff --git a/source/blender/blenlib/intern/math_geom.c b/source/blender/blenlib/intern/math_geom.c
index 0790d65..38947e1 100644
--- a/source/blender/blenlib/intern/math_geom.c
+++ b/source/blender/blenlib/intern/math_geom.c
@@ -3919,7 +3919,7 @@ void lookat_m4(float mat[4][4], float vx, float vy, float vz, float px, float py
unit_m4(mat1);
- axis_angle_to_mat3_single(mat, 'Z', -twist);
+ axis_angle_to_mat4_single(mat, 'Z', -twist);
dx = px - vx;
dy = py - vy;
More information about the Bf-blender-cvs
mailing list