Blender Git Commit Log

Git Commits -> Revision e5e6f91

Revision e5e6f91 by Campbell Barton (master)
August 4, 2011, 01:56 (GMT)
fix [#28114] Render Crash

existing check for driver to use GIL was not thread safe and could cause, details in the report.

This bug was caused by a check to avoid hanging, a fix for [#27683] that worked in 2.4x because the UI didn't use python to draw while rendering.

Apply a different fix for [#27683], when calling an operator, call PyEval_SaveThread(), then PyEval_RestoreThread() so the GIL can be aquired by threads started by the operator - in this case bake starting a thread that evaluates drivers.

Commit Details:

Full Hash: e5e6f91856efe3d78eab747c25be4e1d0a5988ef
SVN Revision: 39006
Parent Commit: 79c8785
Lines Changed: +30, -8

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2022