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>2011-12-17 03:50:55 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-12-17 03:50:55 +0400
commitdb6cb30941da7899ccafa44c87c17970d134a2c9 (patch)
tree0f1c3df62346cfac61e2785e9ec7ac8e0e30f443 /source/blender/editors/armature
parente5b1f9c28d52254fd11e226ed4ac7bf07d7259d7 (diff)
parent3311164b24da61f2967f96d0ee27508a7e2e0267 (diff)
svn merge ^/trunk/blender -r42669:42670
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r--source/blender/editors/armature/editarmature.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/armature/editarmature.c b/source/blender/editors/armature/editarmature.c
index f1990372fc8..c27631098cf 100644
--- a/source/blender/editors/armature/editarmature.c
+++ b/source/blender/editors/armature/editarmature.c
@@ -936,7 +936,7 @@ int join_armature_exec(bContext *C, wmOperator *UNUSED(op))
/* Find the difference matrix */
invert_m4_m4(oimat, ob->obmat);
- mul_m4_m4m4(mat, base->object->obmat, oimat);
+ mult_m4_m4m4(mat, oimat, base->object->obmat);
/* Copy bones and posechannels from the object to the edit armature */
for (pchan=opose->chanbase.first; pchan; pchan=pchann) {
@@ -972,7 +972,7 @@ int join_armature_exec(bContext *C, wmOperator *UNUSED(op))
/* Find the roll */
invert_m4_m4(imat, premat);
- mul_m4_m4m4(difmat, postmat, imat);
+ mult_m4_m4m4(difmat, imat, postmat);
curbone->roll -= (float)atan2(difmat[2][0], difmat[2][2]);
}