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:
authorLukas Tönne <lukas.toenne@gmail.com>2014-10-30 17:26:41 +0300
committerLukas Tönne <lukas.toenne@gmail.com>2014-10-30 17:31:18 +0300
commitaf9da0be438812ee95698ae3e9adbbb49ba6b825 (patch)
treeb9262c0866dbfda318fc64b5f9f306a73abc41a6 /source/blender/editors/object/object_bake_api.c
parentf07cd77b48c1d70a59bad895e1165e6b7cf7bb2d (diff)
Complementary fix for rB8054372: Follow the common naming scheme by
using negate_mat3_m4 instead of negate_m4. This avoids changing the behavior and only flips the 3x3 part of the matrix.
Diffstat (limited to 'source/blender/editors/object/object_bake_api.c')
-rw-r--r--source/blender/editors/object/object_bake_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_bake_api.c b/source/blender/editors/object/object_bake_api.c
index 4821ffd4119..57fabcb06cf 100644
--- a/source/blender/editors/object/object_bake_api.c
+++ b/source/blender/editors/object/object_bake_api.c
@@ -768,7 +768,7 @@ static int bake(
normalize_m4_m4(highpoly[i].rotmat, highpoly[i].imat);
zero_v3(highpoly[i].rotmat[3]);
if (is_negative_m4(highpoly[i].rotmat))
- negate_m4(highpoly[i].rotmat);
+ negate_mat3_m4(highpoly[i].rotmat);
i++;
}