Fix (unreported) load image code calling icin/preview update from non-Main thread.
authorBastien Montagne <montagne29@wanadoo.fr>
Fri, 11 May 2018 08:48:04 +0000 (10:48 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Fri, 11 May 2018 08:48:04 +0000 (10:48 +0200)
commit13beeb58922747cc1a28bac58ceb1b44820808cd
tree34a2cb3d3d728015e680ab165d37883ff6a48fcd
parent0385b33f0b3e389ea2a82c4b6bb181c684f0511a
Fix (unreported) load image code calling icin/preview update from non-Main thread.

Icin/preview only works in main thread, while image loading can be done
from others too... This could have generated random crashes and such.
source/blender/blenkernel/intern/icons.c
source/blender/blenkernel/intern/image.c