Mistake in previous commit test for API vert new: it failed for no-arg case.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user