Cleanup: Use boolean in WM_cursor_wait

This commit is contained in:
Antonio Vazquez
2021-03-05 10:36:57 +01:00
parent b5d154f400
commit 99e1866712
15 changed files with 28 additions and 28 deletions

View File

@@ -9007,7 +9007,7 @@ static PyObject *pyrna_unregister_class(PyObject *UNUSED(self), PyObject *py_cla
#if 0
if (PyDict_GetItem(((PyTypeObject *)py_class)->tp_dict, bpy_intern_str_bl_rna) == NULL) {
PWM_cursor_wait(0);
PWM_cursor_wait(false);
PyErr_SetString(PyExc_ValueError, "unregister_class(): not a registered as a subclass");
return NULL;
}