diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-08-21 09:11:11 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-08-21 09:11:11 +0400 |
commit | 57f8a252d6827861a1678960928a2752b72570d5 (patch) | |
tree | 2ad20f058d67b8690440904e2e9564f373315df7 /source/blender/python | |
parent | f6b13c83ab3e5f3ca7411747ca67a5468f6392ca (diff) |
fix own regression [#36443] Vertex to UV index doesn't match with 2.68a
add BM_face_create_verts wrapper for BM_face_create which creates its own edge array.
Diffstat (limited to 'source/blender/python')
-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 0e2fbe8a526..89bbe16c1d6 100644 --- a/source/blender/python/bmesh/bmesh_py_types.c +++ b/source/blender/python/bmesh/bmesh_py_types.c @@ -2020,7 +2020,7 @@ static PyObject *bpy_bmfaceseq_new(BPy_BMElemSeq *self, PyObject *args) /* Go ahead and make the face! * --------------------------- */ - f_new = BM_face_create_ngon_verts(bm, vert_array, vert_seq_len, 0, false, true); + f_new = BM_face_create_verts(bm, vert_array, vert_seq_len, BM_CREATE_NOP, true); if (UNLIKELY(f_new == NULL)) { PyErr_SetString(PyExc_ValueError, |