diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-07-17 04:11:43 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-07-17 05:56:08 +0400 |
commit | 7f4735ab3bfdc2e6647e132b36c919f390f52438 (patch) | |
tree | 62343c683fe4cd75853117813ece5ba2aad52cbe /source/blender/python/bmesh/bmesh_py_types_select.c | |
parent | a798e01dc3ffa212689af6a340cf51bc74f2816f (diff) |
bmesh py api: BPY_BM_CHECK_SOURCE_* macro now accepts multiple args
Diffstat (limited to 'source/blender/python/bmesh/bmesh_py_types_select.c')
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_types_select.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_types_select.c b/source/blender/python/bmesh/bmesh_py_types_select.c index b8e04a0cab8..3c72112e7ce 100644 --- a/source/blender/python/bmesh/bmesh_py_types_select.c +++ b/source/blender/python/bmesh/bmesh_py_types_select.c @@ -112,7 +112,7 @@ static PyObject *bpy_bmeditselseq_add(BPy_BMEditSelSeq *self, BPy_BMElem *value) return NULL; } - BPY_BM_CHECK_SOURCE_OBJ(value, self->bm, "select_history.add()"); + BPY_BM_CHECK_SOURCE_OBJ(self->bm, "select_history.add()", value); BM_select_history_store(self->bm, value->ele); @@ -137,7 +137,7 @@ static PyObject *bpy_bmeditselseq_remove(BPy_BMEditSelSeq *self, BPy_BMElem *val return NULL; } - BPY_BM_CHECK_SOURCE_OBJ(value, self->bm, "select_history.remove()"); + BPY_BM_CHECK_SOURCE_OBJ(self->bm, "select_history.remove()", value); if (BM_select_history_remove(self->bm, value->ele) == false) { PyErr_SetString(PyExc_ValueError, |