diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-11-26 03:08:35 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-11-26 03:08:35 +0300 |
commit | 88556d801febc4fd02cb93302a7c25dcdd3d166e (patch) | |
tree | 4a0259a372323c950d843d40f26d95c5f57bca02 /source | |
parent | d0b453577a84212e7dccc5bc40507bdbee65a42e (diff) |
Fix T46870: bge globalDict kept between sessions
Diffstat (limited to 'source')
-rw-r--r-- | source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp b/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp index 6832b4191f5..976590cadaf 100644 --- a/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp +++ b/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp @@ -677,6 +677,7 @@ extern "C" void StartKetsjiShell(struct bContext *C, struct ARegion *ar, rcti *c BLI_strncpy(G.main->name, oldsce, sizeof(G.main->name)); #ifdef WITH_PYTHON + PyDict_Clear(pyGlobalDict); Py_DECREF(pyGlobalDict); // Release Python's GIL |