[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [59105] trunk/blender: BGE: Updating the bge.logic.expandPath() documentation to better reflect its current behavior.

Mitchell Stokes mogurijin at gmail.com
Tue Aug 13 09:48:08 CEST 2013


Revision: 59105
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=59105
Author:   moguri
Date:     2013-08-13 07:48:07 +0000 (Tue, 13 Aug 2013)
Log Message:
-----------
BGE: Updating the bge.logic.expandPath() documentation to better reflect its current behavior.

Modified Paths:
--------------
    trunk/blender/doc/python_api/rst/bge.logic.rst
    trunk/blender/source/gameengine/Ketsji/KX_PythonInit.cpp

Modified: trunk/blender/doc/python_api/rst/bge.logic.rst
===================================================================
--- trunk/blender/doc/python_api/rst/bge.logic.rst	2013-08-13 07:37:13 UTC (rev 59104)
+++ trunk/blender/doc/python_api/rst/bge.logic.rst	2013-08-13 07:48:07 UTC (rev 59105)
@@ -362,9 +362,9 @@
 
    Use / as directory separator in path
    You can use '//' at the start of the string to define a relative path;
-   Blender replaces that string by the directory of the startup .blend or runtime file
-   to make a full path name (doesn't change during the game, even if you load other .blend).
-   The function also converts the directory separator to the local file system format.
+   Blender replaces that string by the directory of the current .blend or runtime file
+   to make a full path name. The function also converts the directory separator to
+   the local file system format.
 
    :arg path: The path string to be converted/expanded.
    :type path: string

Modified: trunk/blender/source/gameengine/Ketsji/KX_PythonInit.cpp
===================================================================
--- trunk/blender/source/gameengine/Ketsji/KX_PythonInit.cpp	2013-08-13 07:37:13 UTC (rev 59104)
+++ trunk/blender/source/gameengine/Ketsji/KX_PythonInit.cpp	2013-08-13 07:48:07 UTC (rev 59105)
@@ -233,9 +233,8 @@
 path - the string path to convert.\n\n\
 Use / as directory separator in path\n\
 You can use '//' at the start of the string to define a relative path;\n\
-Blender replaces that string by the directory of the startup .blend or runtime\n\
-file to make a full path name (doesn't change during the game, even if you load\n\
-other .blend).\n\
+Blender replaces that string by the directory of the current .blend or runtime\n\
+file to make a full path name.\n\
 The function also converts the directory separator to the local file system format.";
 
 static PyObject *gPyExpandPath(PyObject *, PyObject *args)




More information about the Bf-blender-cvs mailing list