diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-06-01 16:36:22 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-06-01 16:36:22 +0400 |
commit | 617b45256ad9b6fca2e7fa2ff0a016b73ce31c7a (patch) | |
tree | 57ac81adefc9e60f9e48ce21d64204b02b219662 /source/gameengine/Ketsji/KX_PythonInit.h | |
parent | 358ec00256bd91f29e14620f1c898f7e9e8e8305 (diff) |
BGE Blendfile path bug (use for loading and saving the GameLogic.globalDict)
the original blendfile path wasn't reset when loading new blendfiles.
blenderplayer was ok, but running the BGE from blender would set the blendfile original path and never reset it on loading other blend files.
Diffstat (limited to 'source/gameengine/Ketsji/KX_PythonInit.h')
-rw-r--r-- | source/gameengine/Ketsji/KX_PythonInit.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_PythonInit.h b/source/gameengine/Ketsji/KX_PythonInit.h index 3253ac8f711..8f102d13a18 100644 --- a/source/gameengine/Ketsji/KX_PythonInit.h +++ b/source/gameengine/Ketsji/KX_PythonInit.h @@ -53,6 +53,7 @@ PyObject* initGamePythonScripting(const STR_String& progname, TPythonSecurityLev void exitGamePythonScripting(); void setGamePythonPath(char *path); +void resetGamePythonPath(); void pathGamePythonConfig( char *path ); int saveGamePythonConfig( char **marshal_buffer); int loadGamePythonConfig(char *marshal_buffer, int marshal_length); |