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;
 }
 
 /**

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to