diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-08-29 07:15:17 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-08-29 07:15:17 +0400 |
commit | f60992daae876182800ab2adf8f24fd90a13b240 (patch) | |
tree | 7f22c2f257c1a9b388d98b18c780570b08fcfd8f /source/gameengine/GamePlayer | |
parent | 272132888f09b9dd4e0b1e519aab5a38380752b2 (diff) |
BGE Py API - GameKeys.EventToString() utility function, makes key configuration menu's easier to write.
own error with blenderplayer, wasnt decreffing the GameLogic module, probably didnt matter since python was restarted anyway, but is incorrect.
Diffstat (limited to 'source/gameengine/GamePlayer')
-rw-r--r-- | source/gameengine/GamePlayer/ghost/GPG_Application.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/gameengine/GamePlayer/ghost/GPG_Application.cpp b/source/gameengine/GamePlayer/ghost/GPG_Application.cpp index f859193ef7a..c56a6d0da23 100644 --- a/source/gameengine/GamePlayer/ghost/GPG_Application.cpp +++ b/source/gameengine/GamePlayer/ghost/GPG_Application.cpp @@ -716,6 +716,7 @@ void GPG_Application::stopEngine() } else { printf("Error, GameLogic.globalDict could not be marshal'd\n"); } + Py_DECREF(gameLogic); } else { printf("Error, GameLogic.globalDict was removed\n"); } |