diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-03 06:10:28 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-03 06:10:28 +0400 |
commit | c475f382395d1556fc0fb80c709f7dc08c97eb10 (patch) | |
tree | 4340da5efdf50577f2ae20ce07b902a54eae2186 | |
parent | 66f32bd7f9191702d561ff6995363d9a98084772 (diff) |
bugfix for python console getting its namespace cleared after the first command was executed.
-rw-r--r-- | release/scripts/op/console_python.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/op/console_python.py b/release/scripts/op/console_python.py index 70b24ddf2fa..8c7f543db36 100644 --- a/release/scripts/op/console_python.py +++ b/release/scripts/op/console_python.py @@ -47,6 +47,7 @@ def get_console(console_id): if consoles is None: consoles = get_console.consoles = {} + get_console.consoles_namespace_hash = hash(bpy.context.manager) else: # check if clearning the namespace is needed to avoid a memory leak. # the window manager is normally loaded with new blend files |