diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2004-10-15 03:34:19 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2004-10-15 03:34:19 +0400 |
commit | 9d579591a3d5352b70c27073a0df3dd598cf5182 (patch) | |
tree | 75ff27a31257b5176115489176c1b41c3f02c5f5 /source/blender/python/api2_2x/matrix.c | |
parent | 8edf8ff5fadbf78fb0caf02d31811d2c7b2d651b (diff) |
Make msvc happy by 'improving' order of declaration and removing superfluous layout issues.
Diffstat (limited to 'source/blender/python/api2_2x/matrix.c')
-rw-r--r-- | source/blender/python/api2_2x/matrix.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/python/api2_2x/matrix.c b/source/blender/python/api2_2x/matrix.c index ef137731a78..33dc4da49b6 100644 --- a/source/blender/python/api2_2x/matrix.c +++ b/source/blender/python/api2_2x/matrix.c @@ -754,13 +754,13 @@ PyObject *Matrix_sub( PyObject * m1, PyObject * m2 ) PyObject *Matrix_mul( PyObject * m1, PyObject * m2 ) { - float *mat = NULL; - PyObject *retval;; - int matSizeV, rowSizeV, colSizeV, rowSizeW, colSizeW, matSizeW, x, y, - z; - float dot = 0; + PyObject *retval; + int matSizeV, rowSizeV, colSizeV, rowSizeW, colSizeW, matSizeW, x, y,z; MatrixObject *matV; MatrixObject *matW; + float *mat = NULL; + float dot = 0; + if( ( !Matrix_CheckPyObject( m1 ) ) || ( !Matrix_CheckPyObject( m2 ) ) ) |