Go to file
Mitchell Stokes 84966c3d0a BGE: Committing async LibLoad from Swiss. This does the lib loading in a separate thread to keep the BGE from freezing. Here is an example from the docs:
# Print a message when an async LibLoad is done
      import bge

      def finished_cb(status):
          print("Library (%s) loaded in %.2fms." % (status.libraryName, status.timeTaken))

      bge.logic.LibLoad('myblend.blend', 'Scene', async=True).onFinish = finished_cb

LibLoad() now returns a KX_LibLoadStatus object for information on the library loading. LibNew() and LibFree() are unaffected by this commit. In other words, the async option only works for LibLoad(). Furthermore it only works for Scenes, not Actions or Meshes.
2012-12-22 05:38:32 +00:00
build_files Buildbot: disable Jack for now, it doesn't work when linked statically 2012-12-21 09:37:43 +00:00
doc BGE: Committing async LibLoad from Swiss. This does the lib loading in a separate thread to keep the BGE from freezing. Here is an example from the docs: 2012-12-22 05:38:32 +00:00
extern Camera tracking: synchronize changes with own branch 2012-12-20 11:03:39 +00:00
intern Fix #33644: rendering to a new window and then closing it would not completely 2012-12-21 11:56:02 +00:00
release Text Editor: Gray out the Register check unless the file has .py extension. (feature lost since July) 2012-12-22 05:04:30 +00:00
source BGE: Committing async LibLoad from Swiss. This does the lib loading in a separate thread to keep the BGE from freezing. Here is an example from the docs: 2012-12-22 05:38:32 +00:00
CMakeLists.txt CMake: on linux, make boost now always require multithreaded libs, disabling 2012-12-13 08:46:07 +00:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile code cleanup: comment unused members of bmesh operator slots and some osl style edits. 2012-11-20 14:31:58 +00:00
SConstruct Icons now draw good again! 2012-12-18 19:35:54 +00:00