Correct error in recent use of PyC_Long_*
authorCampbell Barton <ideasman42@gmail.com>
Thu, 24 Aug 2017 16:09:23 +0000 (02:09 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 24 Aug 2017 16:09:23 +0000 (02:09 +1000)
Regression in 46cf33bf0

source/blender/python/bmesh/bmesh_py_types.c

index faaa2aecb4cdf7be6b395dde7478fa21f3bb4b19..bd2d818c3a32fdd9b9ad86f25b07ccd6731568e4 100644 (file)
@@ -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,