diff options
author | Howard Trickey <howard.trickey@gmail.com> | 2012-02-29 19:35:10 +0400 |
---|---|---|
committer | Howard Trickey <howard.trickey@gmail.com> | 2012-02-29 19:35:10 +0400 |
commit | fc84402632d06cafd86beb260ad63dd08bd94903 (patch) | |
tree | 41a957ea5955a07faa3e2747cfe2adad66baccb9 | |
parent | 29b027294d2ca6821bec6e21b21db90d6ae537d4 (diff) |
Mistake in previous commit test for API vert new: it failed for no-arg case.
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_types.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_types.c b/source/blender/python/bmesh/bmesh_py_types.c index ecc5489dddf..1145fbbd452 100644 --- a/source/blender/python/bmesh/bmesh_py_types.c +++ b/source/blender/python/bmesh/bmesh_py_types.c @@ -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; } |