diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-10-27 10:51:10 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-10-27 14:06:14 +0300 |
commit | 5f0933f07a548719a850d9cac01aae6709b9dc0b (patch) | |
tree | e31af4de22de1ef037cc8fc6784d292dd5be32e3 /.gitmodules | |
parent | f11298692b93c79132b77d0795e6bd6080c62480 (diff) |
Fix T49829: Removal of custom icon previews during add-on unregister crashes Blender.
Issue was happening when removal of custom icons was done while they
were still being rendered by preview job.
Now add a 'deffered deletion' system, to prevent main thread to delete
preview image until loading thread is done with them.
Note that ideally, calling `ED_preview_kill_jobs()` on custom icon
removal would have been simpler, but we don't have easy access to
context here...
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions