diff options
-rw-r--r-- | source/blender/freestyle/intern/python/BPy_SShape.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_SShape.cpp b/source/blender/freestyle/intern/python/BPy_SShape.cpp index 1ba6c6a7f48..48faf65a569 100644 --- a/source/blender/freestyle/intern/python/BPy_SShape.cpp +++ b/source/blender/freestyle/intern/python/BPy_SShape.cpp @@ -184,7 +184,7 @@ PyObject * SShape_AddEdge( BPy_SShape *self , PyObject *args) { PyObject * SShape_AddNewVertex( BPy_SShape *self , PyObject *args) { PyObject *py_sv = 0; - if(!( PyArg_ParseTuple(args, "O1", &SVertex_Type, &py_sv) )) + if(!( PyArg_ParseTuple(args, "O!", &SVertex_Type, &py_sv) )) return NULL; self->ss->AddNewVertex( ((BPy_SVertex *) py_sv)->sv ); |