Blender Git Loki

Git Commits -> Revision fe42864

Revision fe42864 by Sybren A. Stüvel (master)
September 10, 2021, 09:03 (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.

This is an improved version of
rBfc460351170478e712740ae1917a2e24803eba3b, thanks @brecht for the diff!

Manifest task: T91046

Commit Details:

Full Hash: fe4286435c54b3ba0a031f032b95615da74a7aac
Parent Commit: 93d2940
Lines Changed: +23, -4

3 Modified Paths:

/source/blender/depsgraph/CMakeLists.txt (+7, -0) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval.cc (+13, -0) (Diff)
/source/blender/python/generic/bpy_threads.c (+3, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021