Revision: 36039 http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36039 Author: moguri Date: 2011-04-07 04:00:56 +0000 (Thu, 07 Apr 2011) Log Message: ----------- Updating BGE dynamic loading docs: * Adding load_action and verbose keyword args for LibLoad() * Adding LibList()
Modified Paths: -------------- trunk/blender/doc/python_api/rst/bge.logic.rst Modified: trunk/blender/doc/python_api/rst/bge.logic.rst =================================================================== --- trunk/blender/doc/python_api/rst/bge.logic.rst 2011-04-06 22:03:02 UTC (rev 36038) +++ trunk/blender/doc/python_api/rst/bge.logic.rst 2011-04-07 04:00:56 UTC (rev 36039) @@ -173,7 +173,7 @@ Restarts the current game by reloading the .blend file (the last saved version, not what is currently running). -.. function:: LibLoad(blend, type, data) +.. function:: LibLoad(blend, type, data, load_actions=False, verbose=False) Converts the all of the datablocks of the given type from the given blend. @@ -183,6 +183,10 @@ :type type: string :arg data: Binary data from a blend file (optional) :type data: bytes + :arg load_actions: Search for and load all actions in a given Scene and not just the "active" actions (Scene type only) + :type load_actions: bool + :arg verbose: Whether or not to print debugging information (e.g., "SceneName: Scene") + :type verbose: bool .. function:: LibNew(name, type, data) @@ -201,7 +205,13 @@ :arg name: The name of the library to free (the name used in LibNew) :type name: string + +.. function:: LibList() + Returns a list of currently loaded libraries. + + :rtype: list [str] + .. function:: addScene(name, overlay=1) Loads a scene into the game engine. _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org http://lists.blender.org/mailman/listinfo/bf-blender-cvs