Blender Git Loki
Git Commits -> Revision fc46035
Revision fc46035 by Sybren A. Stüvel (master) September 9, 2021, 12:27 (GMT) |
Depsgraph: release GIL when evaluating the depsgraph Evaluating the dependency graph potentially executes Python code when evaluating drivers. In specific situations (see T91046) this could deadlock Blender entirely. Temporarily releasing the GIL when evaluating the depsgraph resolves this. Calling the `BPy_BEGIN_ALLOW_THREADS` macro is relatively safe, as it's a no-op when the current thread does not have the GIL. Developed in collaboration with @sergey Manifest task: T91046 |
Commit Details:
Full Hash: fc460351170478e712740ae1917a2e24803eba3b
Parent Commit: da50cd8
Lines Changed: +20, -0