Cleanup: Use boolean in WM_cursor_wait

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

View File

@@ -1967,9 +1967,9 @@ static int edbm_duplicate_exec(bContext *C, wmOperator *op)
static int edbm_duplicate_invoke(bContext *C, wmOperator *op, const wmEvent *UNUSED(event))
{
WM_cursor_wait(1);
WM_cursor_wait(true);
edbm_duplicate_exec(C, op);
WM_cursor_wait(0);
WM_cursor_wait(false);
return OPERATOR_FINISHED;
}