===Python API===

Fix return value problem in Mesh_getFakeUsers(): compiler warning in this case
was indicating a real bug.
This commit is contained in:
Ken Hughes
2006-08-22 18:08:57 +00:00
parent adc1333d85
commit a217e546a4

View File

@@ -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 )