[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [52495] trunk/blender/doc/python_api/rst/ bge.logic.rst: BGE Docs: Adding docs for bge.logic.NextFrame() and bge. logic.PrintMemInfo() based on their doc strings.

Mitchell Stokes mogurijin at gmail.com
Thu Nov 22 23:38:35 CET 2012


Revision: 52495
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=52495
Author:   moguri
Date:     2012-11-22 22:38:31 +0000 (Thu, 22 Nov 2012)
Log Message:
-----------
BGE Docs: Adding docs for bge.logic.NextFrame() and bge.logic.PrintMemInfo() based on their doc strings. There was also an :rtype: in the bge.logic.setExitKey() docs that should have been :type:.

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	2012-11-22 22:25:12 UTC (rev 52494)
+++ trunk/blender/doc/python_api/rst/bge.logic.rst	2012-11-22 22:38:31 UTC (rev 52495)
@@ -336,9 +336,12 @@
    Sets the key used to exit the game engine
 
    :arg key: A key constant from :mod:`bge.events`
-   :rtype key: int
+   :type key: int
 
+.. function:: NextFrame()
 
+   Render next frame (if Python has control)
+
 *****************
 Utility functions
 *****************
@@ -381,6 +384,10 @@
 .. function:: PrintGLInfo()
 
    Prints GL Extension Info into the console
+
+.. function:: PrintMemInfo()
+
+   Prints engine statistics into the console
    
 *********
 Constants




More information about the Bf-blender-cvs mailing list