[Bf-blender-cvs] [7b66c719aef] master: Fix T80363: Progress cursor getting stuck
Julian Eisel
noreply at git.blender.org
Tue Sep 15 12:43:11 CEST 2020
Commit: 7b66c719aefde816e6159d058db45a697daa5ec8
Author: Julian Eisel
Date: Tue Sep 15 12:41:26 2020 +0200
Branches: master
https://developer.blender.org/rB7b66c719aefde816e6159d058db45a697daa5ec8
Fix T80363: Progress cursor getting stuck
===================================================================
M source/blender/windowmanager/intern/wm_cursors.c
===================================================================
diff --git a/source/blender/windowmanager/intern/wm_cursors.c b/source/blender/windowmanager/intern/wm_cursors.c
index 8e89c08a831..838a1328bdc 100644
--- a/source/blender/windowmanager/intern/wm_cursors.c
+++ b/source/blender/windowmanager/intern/wm_cursors.c
@@ -374,6 +374,8 @@ void WM_cursor_time(wmWindow *win, int nr)
}
window_set_custom_cursor(win, mask, bitmap, 7, 7);
+ /* Unset current cursor value so it's properly reset to wmWindow.lastcursor. */
+ win->cursor = 0;
}
/**
More information about the Bf-blender-cvs
mailing list