Files
test2/source/blender/blenkernel
Bastien Montagne 935e241fa6 Fix (unreported) crash when opening a file from splash screen when 'load UI' option is disabled.
Took me some time to figure out what was going on here... Was again that delayed button
callback stuff (`ui_apply_but_funcs_after()`), first calling button op, and then
its callback func.

Issue was that 'open file' op (through call to `WM_file_read()`) would clear
the splash screen (as more or less the entire 'dynamic' UI), but callback func of that splash
(`wm_block_splash_refreshmenu()`) would still try to access that freed menu's region.

So, root of the issue seems to be that setting context's wm/win/etc. would not clear
context's menu pointer (while clearing all other 'sub' pointers). I could not find
nor imagine any case where this behavior could be desired, so simply added nullification
of that pointer when setting context's wm/win/etc.

Note that crash was due to read-after-free, infuriating debug builds with asan,
but seems like release builds never actually crashed on it.
2016-02-23 16:38:47 +01:00
..
2015-06-13 03:24:07 +10:00
2015-05-11 12:39:39 +10:00
2015-05-06 11:13:42 +10:00
2015-08-06 13:03:07 +10:00
2015-07-25 07:44:25 +10:00
2015-08-01 12:37:52 +10:00
2015-03-30 21:18:49 +11:00
2016-01-04 01:25:52 -05:00
2016-01-06 19:48:10 +01:00
2015-10-23 01:20:01 +11:00
2015-12-28 00:37:07 +01:00
2015-11-12 18:54:26 +11:00
2015-10-08 15:05:37 +02:00
2015-12-01 13:31:26 +11:00
2015-04-06 10:40:12 -03:00
2015-04-06 10:40:12 -03:00
2015-04-07 08:46:48 +10:00