Go to file
Bastien Montagne 860e25fe29 Fix T46093: Thumbnails/previews of materials/textures not displaying in Blender filebrowser when only one thread is available.
Using the global scheduler here is not a really good idea - `filelist_cache_previewf()` is not a short task
that run once, but it's a loop that keeps cheking for work in a TODO queue. This means it won't quickly allow other tasks
to start, so it should not be in the global scheduler.

In fact, asynchronous tasks (that is, tasks that will live for quite a bit of time, and often sleep a lot) should never use
global scheduler, they would steal computing resources from heavy-duty, short-time living ones - and possibly even completely
stall threaded tasks (if all worker threads are executing long-life tasks...).

We could probably even completely bypass the scheduler/task thing here (and directly use threads), but it does not have
that much of an over-head, and still offers easy handling of threading stuff...
2015-09-15 13:57:47 +02:00
build_files Buildbot: Test enable CUDA binaries for Win32 2015-09-09 16:38:44 +05:00
doc Cleanup: API docs 2015-09-08 19:42:58 +10:00
extern Fix T46051: Loading certain Jpeg causes system alert sound (Win32) 2015-09-09 16:18:37 +05:00
intern Cleanup: spelling 2015-09-14 02:22:22 +10:00
release Fix T46048: Custom properties UI redraw issue 2015-09-11 04:29:31 +10:00
scons@625d446ae8 Fixed border extension for the sunbeams node. 2014-09-23 11:42:11 +02:00
source Fix T46093: Thumbnails/previews of materials/textures not displaying in Blender filebrowser when only one thread is available. 2015-09-15 13:57:47 +02:00
tests Fix: Made bpy.path.ensure_ext compatible with compound extensions. 2015-09-03 13:09:16 +02:00
.arcconfig Use HTTPS protocol for arc 2013-12-24 22:57:27 +06:00
.gitignore Revert "ignore conflict files" 2014-08-08 06:00:49 +10:00
.gitmodules Initialize git submodules for addons, locales and scons 2013-11-15 12:19:08 +06:00
CMakeLists.txt Fix typo in cmake when OpenSubdiv is not found 2015-08-06 11:51:18 +02:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile CMake: use functions instead of macros 2015-06-17 09:38:24 +10:00
SConstruct Audaspace: building without audaspace. 2015-07-28 14:53:06 +02:00