blender/doc
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
..
blender_file_format switch verious references from py3.2 -> 3.3 or just 3. 2012-11-26 13:58:06 +00:00
build_systems Spellfixes: colour -> color 2012-07-04 12:19:50 +00:00
doxygen move bmesh wiki docs into bmesh header and update doxygen. 2012-02-27 20:27:19 +00:00
guides patch [#32791] Spelling mistakes corrected. 2012-10-07 03:26:30 +00:00
license == docs == 2010-10-13 14:44:22 +00:00
manpage osl style cleanup and update man-page. 2012-12-04 03:18:08 +00:00
python_api 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