Merging r42648 through r42722 from trunk into soc-2011-tomato
[blender.git] / source / blender / editors / object / object_constraint.c
index fa4f50e240f8e398e088539493351f9e0c828b2f..8266f3501c5acce73c4a6ed297663885dced0052 100644 (file)
@@ -754,7 +754,7 @@ static void child_get_inverse_matrix (Scene *scene, Object *ob, bConstraint *con
                 * the effect of the constraint
                 */
                invert_m4_m4(imat, pchan->pose_mat);
-               mul_m4_m4m4(tmat, imat, pmat);
+               mult_m4_m4m4(tmat, pmat, imat);
                invert_m4_m4(invmat, tmat);
                
                /* 5. restore constraints */