diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-14 08:46:12 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-14 08:46:12 +0400 |
commit | f15c15e992a9836a7295166af275522690ada315 (patch) | |
tree | ceab2edb87f3b2d1a8b05a661134f4a2696496a6 /source/blender/python/bmesh/bmesh_py_utils.c | |
parent | 99f72dfbfcb004418ae3c701f3badfd36996e6e5 (diff) |
bmesh py api: finished todo - editable select_history
eg:
bm.select_history = vert, face, edge
bm.select_history.add(edge)
Diffstat (limited to 'source/blender/python/bmesh/bmesh_py_utils.c')
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_utils.c b/source/blender/python/bmesh/bmesh_py_utils.c index a41d5e7f766..736802c7f60 100644 --- a/source/blender/python/bmesh/bmesh_py_utils.c +++ b/source/blender/python/bmesh/bmesh_py_utils.c @@ -238,7 +238,7 @@ static PyObject *bpy_bm_utils_vert_separate(PyObject *UNUSED(self), PyObject *ar bm = py_vert->bm; edge_array = BPy_BMElem_PySeq_As_Array(&bm, edge_seq, 0, PY_SSIZE_T_MAX, - &edge_array_len, &BPy_BMEdge_Type, + &edge_array_len, BM_EDGE, TRUE, TRUE, "vert_separate(...)"); if (edge_array == NULL) { @@ -460,7 +460,7 @@ static PyObject *bpy_bm_utils_face_join(PyObject *UNUSED(self), PyObject *value) BMFace *f_new; face_array = BPy_BMElem_PySeq_As_Array(&bm, value, 2, PY_SSIZE_T_MAX, - &face_seq_len, &BPy_BMFace_Type, + &face_seq_len, BM_FACE, TRUE, TRUE, "face_join(...)"); if (face_array == NULL) { |