Fixed a typo in the last commit.

This commit is contained in:
2009-03-29 18:46:17 +00:00
parent 68e088f1cf
commit 6dfcbf166b

View File

@@ -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 );