Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2008-08-29 07:15:17 +0400
committerCampbell Barton <ideasman42@gmail.com>2008-08-29 07:15:17 +0400
commitf60992daae876182800ab2adf8f24fd90a13b240 (patch)
tree7f22c2f257c1a9b388d98b18c780570b08fcfd8f /source/gameengine/GamePlayer/ghost/GPG_Application.cpp
parent272132888f09b9dd4e0b1e519aab5a38380752b2 (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/ghost/GPG_Application.cpp')
-rw-r--r--source/gameengine/GamePlayer/ghost/GPG_Application.cpp1
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");
}