diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-08 03:10:30 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-08 03:10:30 +0300 |
commit | 33265983daf8e62bfedc10abbdaf12690b92065c (patch) | |
tree | 55225cbb3a5b018798d0ddf051c1f2adc3e7eb07 /source/blender/python | |
parent | 6c21f4713b15d0f9c234cf34f4d5fac1914b2a83 (diff) |
fix own error in recent commit [#25970] cannot create scale matrix after mathutils updates
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/generic/mathutils_matrix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/generic/mathutils_matrix.c b/source/blender/python/generic/mathutils_matrix.c index ac30ddcf7f9..4603d9d4251 100644 --- a/source/blender/python/generic/mathutils_matrix.c +++ b/source/blender/python/generic/mathutils_matrix.c @@ -332,7 +332,7 @@ static PyObject *C_Matrix_Scale(PyObject *cls, PyObject *args) float mat[16] = {0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}; - if(!PyArg_ParseTuple(args, "fi|O!:Matrix.Scale", &factor, &matSize, &vec)) { + if(!PyArg_ParseTuple(args, "fi|O:Matrix.Scale", &factor, &matSize, &vec)) { return NULL; } if(matSize != 2 && matSize != 3 && matSize != 4) { |