Files
test2/source/blender/blenkernel/intern
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-11-16 15:19:30 +11:00
2015-05-13 06:10:49 +10:00
2016-01-09 09:17:18 +11:00
2014-11-29 19:12:33 +01:00
2016-01-28 17:23:12 +11:00
2015-08-01 14:13:59 +10:00
2016-02-22 23:22:15 +11:00
2015-10-07 15:02:06 +11:00
2015-08-06 22:33:45 +10:00
2015-10-07 15:02:06 +11:00
2015-09-18 20:43:52 +10:00
2016-02-02 12:40:07 +11:00
2016-01-17 13:45:32 +11:00
2016-01-28 17:23:12 +11:00
2015-11-12 18:54:26 +11:00
2016-01-19 04:54:39 +11:00
2016-01-16 15:59:37 +01:00
2015-10-26 22:22:30 +11:00
2015-12-12 15:10:03 +11:00
2015-11-03 10:31:08 +01:00
2016-02-08 22:28:06 +11:00
2015-02-17 17:12:19 +11:00
2016-01-27 10:14:41 +01:00
2015-12-15 18:16:41 +11:00
2014-11-28 22:16:14 +01:00
2016-01-28 17:23:12 +11:00
2015-11-19 22:52:13 +11:00