Commit: 1a13940ef80890e3f73f41061c31ed00b8298640 Author: Pratik Borhade Date: Sat Feb 4 10:22:50 2023 +0530 Branches: master https://developer.blender.org/rB1a13940ef80890e3f73f41061c31ed00b8298640
Fix T88617: Wrong annotation cursor in Preview of sequencer editor Allow preview region to change cursor as per the selected tool Reviewed by: campbellbarton, ISS Differential Revision: https://developer.blender.org/D16878 =================================================================== 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 f7c030db1cd..74e760013fd 100644 --- a/source/blender/windowmanager/intern/wm_cursors.c +++ b/source/blender/windowmanager/intern/wm_cursors.c @@ -173,7 +173,7 @@ void WM_cursor_set(wmWindow *win, int curs) bool WM_cursor_set_from_tool(struct wmWindow *win, const ScrArea *area, const ARegion *region) { - if (region && (region->regiontype != RGN_TYPE_WINDOW)) { + if (region && !ELEM(region->regiontype, RGN_TYPE_WINDOW, RGN_TYPE_PREVIEW)) { return false; } _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs