Blender Git Loki

Git Commits -> Revision 96486b3

Revision 96486b3 by Benoit Bolsee (master)
May 11, 2008, 18:45 (GMT)
fix BGE bug #8668: Behavior of os.getcwd() is not consistent between operating systems

Add a function GameLogic.expandPath() that works like Blender.sys.expandpath() and is also available in the BlenderPlayer.
Fix the game actuator in the BlenderPlayer to work like in Blender:
- try first to load the .blend from the current working directory
- if not found, try to load from the startup .blend or runtime base directory

Commit Details:

Full Hash: 96486b356f7d035a7abc835adbef850c3f314264
SVN Revision: 14798
Parent Commit: 6da415d
Lines Changed: +66, -5

3 Modified Paths:

/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp (+20, -5) (Diff)
/source/gameengine/Ketsji/KX_PythonInit.cpp (+31, -0) (Diff)
/source/gameengine/PyDoc/GameLogic.py (+15, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021