diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2013-08-13 11:48:07 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2013-08-13 11:48:07 +0400 |
commit | 851627f6e0dff6aaecc975556e6d0f5401925b32 (patch) | |
tree | adc2c8168e55e113d313d15408600a4959af06c5 | |
parent | 5b64b661273a1a015030e02f96e5b18f8a3d73db (diff) |
BGE: Updating the bge.logic.expandPath() documentation to better reflect its current behavior.
-rw-r--r-- | doc/python_api/rst/bge.logic.rst | 6 | ||||
-rw-r--r-- | source/gameengine/Ketsji/KX_PythonInit.cpp | 5 |
2 files changed, 5 insertions, 6 deletions
diff --git a/doc/python_api/rst/bge.logic.rst b/doc/python_api/rst/bge.logic.rst index 4dd0614700e..c7915ee5279 100644 --- a/doc/python_api/rst/bge.logic.rst +++ b/doc/python_api/rst/bge.logic.rst @@ -362,9 +362,9 @@ Utility functions 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 diff --git a/source/gameengine/Ketsji/KX_PythonInit.cpp b/source/gameengine/Ketsji/KX_PythonInit.cpp index e595f24a662..d8b4bf9e8bd 100644 --- a/source/gameengine/Ketsji/KX_PythonInit.cpp +++ b/source/gameengine/Ketsji/KX_PythonInit.cpp @@ -233,9 +233,8 @@ static char gPyExpandPath_doc[] = 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) |