mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix T46870: bge globalDict kept between sessions
This commit is contained in:
parent
d0b453577a
commit
88556d801f
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue