From 33265983daf8e62bfedc10abbdaf12690b92065c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 8 Feb 2011 00:10:30 +0000 Subject: fix own error in recent commit [#25970] cannot create scale matrix after mathutils updates --- source/blender/python/generic/mathutils_matrix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/python') 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) { -- cgit v1.2.3