Blender Git Loki

Git Commits -> Revision e34b7a6

Revision e34b7a6 by Sergey Sharybin (master)
August 1, 2013, 03:58 (GMT)
Hack to workaround scene update lock caused by GIL

Couple of RNA callbacks would imply scene update routines
to trigger. This works fine for until some objects does have
drivers.

If some object does have driver, it'll try to lock GIL
when evaluating this driver, and GIL is already locked by
a python API, which causes deadlock.

For now made it so RNA callbacks doesn't do threaded update.
This is not so much nice, especially since Cycles might
use the same API for motion blur, but for now don't see
better way to solve the deadlock.

Commit Details:

Full Hash: e34b7a62c4ecc87a6ad81b5e38ab4e7d74b643f3
SVN Revision: 58801
Parent Commit: cb0cb84
Lines Changed: +46, -10

3 Modified Paths:

/source/blender/blenkernel/BKE_scene.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/scene.c (+42, -8) (Diff)
/source/blender/makesrna/intern/rna_scene_api.c (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021