Fix T55166: crash joining areas
Caused by own commit 6e40b2de7a
,
Tested w/o this call and can't find any errors so commenting the call.
This commit is contained in:
parent
401e975c61
commit
6955add502
Notes:
blender-bot
2023-02-14 05:53:42 +01:00
Referenced by issue #55178, Cursor icon doesn't change back when you right-click to undo Referenced by issue #55166, Join 2 windows crash
|
@ -1961,7 +1961,11 @@ static int wm_handler_operator_call(bContext *C, ListBase *handlers, wmEventHand
|
|||
/* set cursor back to the default for the region */
|
||||
wmWindow *win = CTX_wm_window(C);
|
||||
WM_cursor_grab_disable(win, NULL);
|
||||
/* Causes crash when joining areas: T55166, seems this is not even needed. */
|
||||
#if 0
|
||||
ED_region_cursor_set(win, area, region);
|
||||
#endif
|
||||
|
||||
|
||||
BLI_remlink(handlers, handler);
|
||||
wm_event_free_handler(handler);
|
||||
|
|
Loading…
Reference in New Issue