Fix #132941: crash due use after-free in properties editor during baking
The crash happens because some layout drawing code accesses the evaluated data which is being generated by the baking thread. This access is not thread safe currently. This patch simply locks the UI of the properties editor when the interface is locked using `WM_set_locked_interface` which is done during baking. The same is done for the 3d view, node editor and spreadsheet already. Pull Request: https://projects.blender.org/blender/blender/pulls/133867
This commit is contained in:
parent
de31cecfaf
commit
795f63e142
@ -1031,6 +1031,7 @@ void ED_spacetype_buttons()
|
||||
art->draw = ED_region_panels_draw;
|
||||
art->listener = buttons_main_region_listener;
|
||||
art->keymapflag = ED_KEYMAP_UI | ED_KEYMAP_FRAMES;
|
||||
art->lock = true;
|
||||
buttons_context_register(art);
|
||||
BLI_addhead(&st->regiontypes, art);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user