Blender Git Loki

Git Commits -> Revision 424141f

Revision 424141f by Willian Padovani Germano (master)
July 2, 2008, 21:01 (GMT)
== Python, GE & Threads ==

Martin Sell (thanks!) reported that threading via scripts was not working in the game engine with Blender 2.46 and later. My fault, to make pynodes work properly with threads > 1 I disabled Python's "check interval", preventing threads created via scripts from receiving time to run.

Now only during rendering check interval is disabled (set to max int). Still experimental, I added the calls in BPY_do_all_scripts, since it's called in BIF_do_render, but will probably move the code to its own function after more testing & feedback.

Commit Details:

Full Hash: 424141f44d1c971455d7d207ad386d1fcd7d854b
SVN Revision: 15409
Parent Commit: 8ca1284
Lines Changed: +15, -10

1 Modified Path:

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