[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30996] trunk/blender/release/scripts/op/ console_python.py: bugfix for python console getting its namespace cleared after the first command was executed .
Campbell Barton
ideasman42 at gmail.com
Tue Aug 3 04:10:34 CEST 2010
Revision: 30996
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30996
Author: campbellbarton
Date: 2010-08-03 04:10:28 +0200 (Tue, 03 Aug 2010)
Log Message:
-----------
bugfix for python console getting its namespace cleared after the first command was executed.
Modified Paths:
--------------
trunk/blender/release/scripts/op/console_python.py
Modified: trunk/blender/release/scripts/op/console_python.py
===================================================================
--- trunk/blender/release/scripts/op/console_python.py 2010-08-03 00:56:43 UTC (rev 30995)
+++ trunk/blender/release/scripts/op/console_python.py 2010-08-03 02:10:28 UTC (rev 30996)
@@ -47,6 +47,7 @@
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
More information about the Bf-blender-cvs
mailing list