Fix T49060: crashes during render with no apparent reason...
Was a concurrent access of pointcache from both particle system and UI (time space). Pointcache not being threadsafe is really an issue to be addressed for its next version, for now simply locking spacetime (like we already do with 3DView), not ideal fix but it's working and safe for release.
This commit is contained in:
parent
67dcad4011
commit
43bb8f12f4
Notes:
blender-bot
2023-02-14 09:44:56 +01:00
Referenced by issue #49060, crashes during render with no apparent reason..
|
@ -813,6 +813,7 @@ void ED_spacetype_time(void)
|
|||
art->draw = time_main_region_draw;
|
||||
art->listener = time_main_region_listener;
|
||||
art->keymap = time_keymap;
|
||||
art->lock = 1; /* Due to pointcache, see T4960. */
|
||||
BLI_addhead(&st->regiontypes, art);
|
||||
|
||||
/* regions: header */
|
||||
|
|
Loading…
Reference in New Issue