Merged changes in the trunk up to revision 42116.
[blender.git] / source / blender / python / mathutils / mathutils_Matrix.c
index f5e1218aaa363bff522493f3ef1fe48492550cdd..2f62f7141cf59af4185c66abff6dea79e8971e01 100644 (file)
@@ -1041,7 +1041,7 @@ static PyObject *Matrix_rotate(MatrixObject *self, PyObject *value)
        }
 
        matrix_as_3x3(self_rmat, self);
-       mul_m3_m3m3(rmat, self_rmat, other_rmat);
+       mul_m3_m3m3(rmat, other_rmat, self_rmat);
 
        copy_m3_m3((float (*)[3])(self->contigPtr), rmat);