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-10-30 12:26:22 +0300
committerCampbell Barton <ideasman42@gmail.com>2014-10-30 12:29:37 +0300
commit8054372d22310bad504012ca70a692ad9dc94973 (patch)
tree1b36dd42361365beebe363c30b24226a126b418e /source/blender/editors/object/object_bake_api.c
parent4b33667b93a3c3cf28478ce06e5200cb2ac2493e (diff)
Fix negate_m3 (taking 4x4 matrix)
Cycles bake used incorrectly.
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 5746f9efd56..4821ffd4119 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_m3(highpoly[i].rotmat);
+ negate_m4(highpoly[i].rotmat);
i++;
}