Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-05-23 21:23:13 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-05-23 21:25:55 +0300
commit6955add502b273b24fa9ea44298cc7c396160e0f (patch)
tree1a9b6447af3c7291fda2e52abd290b73e522d17a /source/blender/windowmanager
parent401e975c617973796a16ea73f2f96924c6bfad32 (diff)
Fix T55166: crash joining areas
Caused by own commit 6e40b2de7ae8, Tested w/o this call and can't find any errors so commenting the call.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_event_system.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c
index c2fbd0aa558..4f3f8ece1f0 100644
--- a/source/blender/windowmanager/intern/wm_event_system.c
+++ b/source/blender/windowmanager/intern/wm_event_system.c
@@ -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);