Blender Git Loki
Git Commits -> Revision 05f2e47
Revision 05f2e47 by Campbell Barton (master) November 24, 2010, 10:23 (GMT) |
bugfix [#23871] OSX panel button bug (Python Namespace issue) This is an annoying but which isn't a problem for Python because they don't execute multiple scripts, one after another (there is one __main__ and everything else is a module). So when the __main__ module in sys.modules is overwritten, it decref's the module and clears the dictionary with _PyModule_Clear(), even though the modules dictionary is still in use. Strangely this problem only happens with Python3.1.1 and Python3.2x svn but not 3.1.2 This commit restores the namespace after _PyModule_Clear() sets all its values to None. |
Commit Details:
Full Hash: 05f2e47ff091de670e6f871daea60276b8171724
SVN Revision: 33277
Parent Commit: a5cecd8
Lines Changed: +18, -3
1 Modified Path:
/source/blender/python/intern/bpy_interface.c (+18, -3) (Diff)