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:
authorCampbell Barton <ideasman42@gmail.com>2014-04-19 13:48:07 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-04-19 13:48:07 +0400
commitd6a53bb38f10b8881ab92dcbf8add2d62622cd9f (patch)
treeb6cc4e575772e8da54bf9815046e6f21b20f34e0 /source/blender/blenlib/intern/math_rotation.c
parent0ed6725aae0da31e97929305ea44e4d83e46707f (diff)
Minor change to recent commit (avoid transpose)
Diffstat (limited to 'source/blender/blenlib/intern/math_rotation.c')
-rw-r--r--source/blender/blenlib/intern/math_rotation.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/blenlib/intern/math_rotation.c b/source/blender/blenlib/intern/math_rotation.c
index 00fdf445209..b356904ce65 100644
--- a/source/blender/blenlib/intern/math_rotation.c
+++ b/source/blender/blenlib/intern/math_rotation.c
@@ -429,9 +429,8 @@ axis_calc:
cross_v3_v3v3(m1[2], m1[1], m1[0]);
cross_v3_v3v3(m2[2], m2[1], m2[0]);
- transpose_m3(m2);
- mul_m3_m3m3(m, m1, m2);
- transpose_m3(m);
+ transpose_m3(m1);
+ mul_m3_m3m3(m, m2, m1);
BLI_ASSERT_UNIT_M3(m);
}