Blender Git Loki

Git Commits -> Revision cf64a5b

Revision cf64a5b by Brecht Van Lommel (master)
November 16, 2012, 15:15 (GMT)
Python/Context: do not allow any UI context access from threads like render
or baking. This basically means you will only have access to bpy.data and
bpy.context.scene, not current window, active object, etc, as those are not
thread safe anyway and were likely to cause issues already.

This fixes #30858, where the UI would lose buttons due to context getting
corrupted when editing objects in pre/post render or using luxrender. The
context access they did (indirectly) was only using the current scene or
data so they still work.

Commit Details:

Full Hash: cf64a5b622151dbcfd7162e7ee93fd7afc88b24f
SVN Revision: 52283
Parent Commit: d017f34
Lines Changed: +10, -0

1 Modified Path:

/source/blender/blenkernel/intern/context.c (+10, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021