Preview icon rendering for menus now runs in a separate thread, to avoid
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 28 Sep 2009 18:33:45 +0000 (18:33 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 28 Sep 2009 18:33:45 +0000 (18:33 +0000)
commit31b77420ea0fde3f29562102ba49ba53bd749f61
tree6195c7eb2debafbc48301ed7303a2f0bd9f16841
parent0e1cf155236ec78b25683cd0f7fd5fe2a8ed016a
Preview icon rendering for menus now runs in a separate thread, to avoid
blocking the user when opening a menu. Material and texture buttons now
display these icons in the list. Also fixes #19387, icon and full preview
render at the same time would crash.

I'm not really convinced this is thread-safe, but on the other hand also
not sure regular preview render is really thread-safe yet.
source/blender/editors/include/ED_previewrender.h
source/blender/editors/interface/interface_icons.c
source/blender/editors/interface/interface_intern.h
source/blender/editors/interface/interface_layout.c
source/blender/editors/interface/interface_templates.c
source/blender/editors/preview/previewrender.c