Blender Git Commit Log
Git Commits -> Revision 440f449
Revision 440f449 by Brecht Van Lommel (master) April 13, 2012, 16:03 (GMT) |
Fix #30858: UI losing buttons at some random moment after using Blender for a while. This may not fix all cases but should at least solve the issue when rendering with cycles. The cause was a race condition on C->data.recursion, with multiple threads accessing context at the same time. Cycles itself does not access context from the render thread, but the bpy api would do a context update for any callback in case e.g. a new file got loaded. Disabled that now in non-main threads. The ideal solution would be to not allow any context access at all from threads but that's not so simple to implement, especially not this close to release. |
Commit Details:
Full Hash: 440f4492656ec26c90017976553909b48e93c3fa
SVN Revision: 45609
Parent Commit: 152b253
Lines Changed: +7, -0
1 Modified Path:
/source/blender/python/intern/bpy_interface.c (+7, -0) (Diff)