Mistake in previous commit test for API vert new: it failed for no-arg case.

This commit is contained in:
2012-02-29 15:35:10 +00:00
parent 29b027294d
commit fc84402632

View File

@@ -1227,7 +1227,7 @@ static PyObject *bpy_bmvertseq_new(BPy_BMElemSeq *self, PyObject *args)
BPY_BM_CHECK_OBJ(py_vert_example);
}
if (!py_co || mathutils_array_parse(co, 3, 3, py_co, "verts.new(co)") == -1) {
if (py_co && mathutils_array_parse(co, 3, 3, py_co, "verts.new(co)") == -1) {
return NULL;
}