From 738d942d291e670c0d0e8df93efd74f40189432a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 25 Aug 2017 02:09:23 +1000 Subject: Correct error in recent use of PyC_Long_* Regression in 46cf33bf0 --- source/blender/python/bmesh/bmesh_py_types.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/python/bmesh') diff --git a/source/blender/python/bmesh/bmesh_py_types.c b/source/blender/python/bmesh/bmesh_py_types.c index faaa2aecb4c..bd2d818c3a3 100644 --- a/source/blender/python/bmesh/bmesh_py_types.c +++ b/source/blender/python/bmesh/bmesh_py_types.c @@ -134,7 +134,7 @@ static int bpy_bm_elem_hflag_set(BPy_BMElem *self, PyObject *value, void *flag) else { BM_elem_flag_set(self->ele, hflag, param); } - return -1; + return 0; } PyDoc_STRVAR(bpy_bm_elem_index_doc, -- cgit v1.2.3