diff options
author | Erwin Coumans <blender@erwincoumans.com> | 2006-05-14 03:31:36 +0400 |
---|---|---|
committer | Erwin Coumans <blender@erwincoumans.com> | 2006-05-14 03:31:36 +0400 |
commit | 4a5826fa83f15dad702a65438b36ec6d1f0f30df (patch) | |
tree | 9a85a95403f3669c335316eb90734cf3c3698c29 /source/gameengine/BlenderRoutines | |
parent | d790049639eb4b2517cfaf3d7a3e1fe2e2b21281 (diff) |
Patch from Charlie:
Cleared the python dictionary at the end of the game engine, should fix some issues,
also reverted the python controller changes, related to this
This should fix the following bugs:
[ #3789 ]
[ #3815 ]
possiblyy fixes:
[ #3834 ]
Diffstat (limited to 'source/gameengine/BlenderRoutines')
-rw-r--r-- | source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp b/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp index e24ade47783..f59faa18d0a 100644 --- a/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp +++ b/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp @@ -311,7 +311,7 @@ extern "C" void StartKetsjiShell(struct ScrArea *area, PyObject* dictionaryobject = initGamePythonScripting("Ketsji", psl_Lowest); ketsjiengine->SetPythonDictionary(dictionaryobject); initRasterizer(rasterizer, canvas); - initGameLogic(startscene); + PyObject *gameLogic = initGameLogic(startscene); initGameKeys(); initPythonConstraintBinding(); @@ -370,11 +370,11 @@ extern "C" void StartKetsjiShell(struct ScrArea *area, exitstring = ketsjiengine->GetExitString(); // when exiting the mainloop + dictionaryClearByHand(gameLogic); exitGamePythonScripting(); ketsjiengine->StopEngine(); networkdevice->Disconnect(); } - if (sceneconverter) { delete sceneconverter; |