diff --git a/source/blender/python/api2_2x/Mesh.c b/source/blender/python/api2_2x/Mesh.c index 7bdcb377dae..926b4f4add1 100644 --- a/source/blender/python/api2_2x/Mesh.c +++ b/source/blender/python/api2_2x/Mesh.c @@ -6743,9 +6743,9 @@ static PyObject *Mesh_getUsers( BPy_Mesh * self ) static PyObject *Mesh_getFakeUser( BPy_Mesh * self ) { if (self->mesh->id.flag & LIB_FAKEUSER) - EXPP_incr_ret_True(); + Py_RETURN_TRUE; else - EXPP_incr_ret_False(); + Py_RETURN_FALSE; } static int Mesh_setFakeUser( BPy_Mesh * self, PyObject * value )