diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-24 23:36:12 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-24 23:36:12 +0400 |
commit | 6e28ac2d7b241d9ee859650d58a89e2b7d441ea7 (patch) | |
tree | 5a1aaeb5131a5ca240bd88e93b9fba0bdcaa1f30 /source/blender/python | |
parent | ddfc518caea168ae1882e717ef28a35f91705a14 (diff) |
pep8 edits and avoid naming conflicts with python builtins
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/mathutils/mathutils_Euler.c | 2 | ||||
-rw-r--r-- | source/blender/python/mathutils/mathutils_Matrix.c | 2 | ||||
-rw-r--r-- | source/blender/python/mathutils/mathutils_Quaternion.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/python/mathutils/mathutils_Euler.c b/source/blender/python/mathutils/mathutils_Euler.c index a1e18432b4b..9bf6687fb5e 100644 --- a/source/blender/python/mathutils/mathutils_Euler.c +++ b/source/blender/python/mathutils/mathutils_Euler.c @@ -241,7 +241,7 @@ static PyObject *Euler_rotate(EulerObject * self, PyObject *value) return NULL; eulO_to_mat3(self_rmat, self->eul, self->order); - mul_m3_m3m3(rmat, self_rmat, other_rmat); + mul_m3_m3m3(rmat, other_rmat, self_rmat); mat3_to_compatible_eulO(self->eul, self->eul, self->order, rmat); diff --git a/source/blender/python/mathutils/mathutils_Matrix.c b/source/blender/python/mathutils/mathutils_Matrix.c index f5e1218aaa3..2f62f7141cf 100644 --- a/source/blender/python/mathutils/mathutils_Matrix.c +++ b/source/blender/python/mathutils/mathutils_Matrix.c @@ -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); diff --git a/source/blender/python/mathutils/mathutils_Quaternion.c b/source/blender/python/mathutils/mathutils_Quaternion.c index 0b24db708e2..44cd28a7c3d 100644 --- a/source/blender/python/mathutils/mathutils_Quaternion.c +++ b/source/blender/python/mathutils/mathutils_Quaternion.c @@ -312,7 +312,7 @@ static PyObject *Quaternion_rotate(QuaternionObject *self, PyObject *value) length= normalize_qt_qt(tquat, self->quat); quat_to_mat3(self_rmat, tquat); - mul_m3_m3m3(rmat, self_rmat, other_rmat); + mul_m3_m3m3(rmat, other_rmat, self_rmat); mat3_to_quat(self->quat, rmat); mul_qt_fl(self->quat, length); /* maintain length after rotating */ |