diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2021-03-05 12:36:57 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2021-03-05 12:36:57 +0300 |
commit | 99e186671247b7dbcb01e9c95709a251fdbefc87 (patch) | |
tree | 51535b58ed654bfcf24d1806572cb6640f3fbe5c /source/blender/windowmanager/intern/wm_operators.c | |
parent | b5d154f400e46ba322f0e08a231bb2557bf51a1e (diff) |
Cleanup: Use boolean in WM_cursor_wait
Diffstat (limited to 'source/blender/windowmanager/intern/wm_operators.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_operators.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index fa34c561147..660e502a3d7 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -3234,7 +3234,7 @@ static int redraw_timer_exec(bContext *C, wmOperator *op) */ struct Depsgraph *depsgraph = CTX_data_depsgraph_pointer(C); - WM_cursor_wait(1); + WM_cursor_wait(true); double time_start = PIL_check_seconds_timer(); @@ -3257,7 +3257,7 @@ static int redraw_timer_exec(bContext *C, wmOperator *op) RNA_enum_description(redraw_timer_type_items, type, &infostr); - WM_cursor_wait(0); + WM_cursor_wait(false); BKE_reportf(op->reports, RPT_WARNING, |