blender/doc/python_api/rst
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
..
bge.constraints.rst BGE: This patch adds a character wrapper (similar to the already implemented vehicle wrapper) to control character physics options. Currently supported options are: 2012-11-04 20:56:02 +00:00
bge.events.rst py api: sphinx doc corrections, pep8 cleanup and style edits, also added __all__ to some modules which were missing it. 2011-07-31 03:15:37 +00:00
bge.logic.rst 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
bge.render.rst Spellfixes: colour -> color 2012-07-04 12:19:50 +00:00
bge.texture.rst BGE VideoTexture: add depth buffer access to ImageViewport and ImageRender. 2012-10-20 22:28:44 +00:00
bge.types.rst 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
bgl.rst add missing bgl and gpu api docstrings (found using docstring completeness checker) 2012-11-22 05:15:52 +00:00
change_log.rst update api changelog 2012-12-11 02:13:42 +00:00
gpu.rst add missing bgl and gpu api docstrings (found using docstring completeness checker) 2012-11-22 05:15:52 +00:00
include__bmesh.rst add a message when solidify is used with only-edges, this isn't properly supported. 2012-12-05 01:02:41 +00:00
info_api_reference.rst Add 2 documents to the python api reference. 2012-12-07 05:27:09 +00:00
info_best_practice.rst spelling cleanup: spelling corrections from user zeffii on IRC. 2012-08-19 15:28:24 +00:00
info_gotcha.rst Add 2 documents to the python api reference. 2012-12-07 05:27:09 +00:00
info_overview.rst Add 2 documents to the python api reference. 2012-12-07 05:27:09 +00:00
info_quickstart.rst Add 2 documents to the python api reference. 2012-12-07 05:27:09 +00:00
info_tips_and_tricks.rst Add 2 documents to the python api reference. 2012-12-07 05:27:09 +00:00
info_tutorial_addon.rst Add 2 documents to the python api reference. 2012-12-07 05:27:09 +00:00