blender/source
Martin Poirier 9004dc665c Fix thread hanging problem (mostly seen with material preview, but that sneaky f*er could strike any time).
Story time: Once upon a time, in the green valley of fileselect, BLI_end_threads would get called on an empty threadbase, depending on the result of a previous call to readdir(). The function would then gladly decrement thread_level to -1 which would cause all kinds of fun havoc. THE END.

Made sure thread_level is only incremented and decremented when needed. The caller should never have to make sure of that, especially since it already lets you call with a null threadbase.

Please report any further hang (and how to reproduce, if possible).
2009-09-02 20:57:18 +00:00
..
blender Fix thread hanging problem (mostly seen with material preview, but that sneaky f*er could strike any time). 2009-09-02 20:57:18 +00:00
creator this was causing failed build when the file was missing 2009-08-26 07:59:58 +00:00
darwin NaN makefiles now support and build with precompiled Python 3.1 by default on Mac 2009-08-02 06:22:53 +00:00
gameengine * KX_PythonSeq - comparisons work again. eg. act1.sensors == act2.sensors, had to copy Py_CmpToRich inline grr!, mailed python-dev about this. 2009-09-02 20:46:28 +00:00
icons Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
kernel 2.5 audio cleanup: 2009-08-10 15:39:11 +00:00
CMakeLists.txt 2.50: 2009-06-08 20:08:19 +00:00
Makefile Add Makefile for sound ops. 2009-08-28 15:54:15 +00:00
nan_compile.mk forgot to updated scons and make for the bullet defines 2009-08-18 04:15:28 +00:00
nan_definitions.mk Update Makefile and missing include on voxeldata.c 2009-08-25 21:25:41 +00:00
nan_link.mk Remove astray tab chars. 2009-08-15 23:42:16 +00:00
nan_subdirs.mk Makefile updates for Blender 2.5 (from GSR) 2009-03-19 01:50:45 +00:00
nan_warn.mk Makefile updates for Blender 2.5 (from GSR) 2009-03-19 01:50:45 +00:00
SConscript 2009-03-30 18:21:17 +00:00