blender/release/scripts/modules/bpy
Campbell Barton ef665b3d18 dissallow access to the context while addons import and register.
Since the window manager is needed for keymaps this is kept as an exception.

some addons will need updating, but in every case I've seen addons should not be accessing the context while registering.
(bad stuff! - declaring the scene as a global variable - which crashes when the users loads a new file, manipulating the active object or scene... tsk tsk)
2012-12-19 07:27:23 +00:00
..
__init__.py style cleanup 2012-06-19 22:17:19 +00:00
ops.py bpy.ops module/caller classes incorrectly had __keys__ rather then __slots__. 2012-12-06 03:09:06 +00:00
path.py style cleanup: pep8 2012-10-08 08:28:05 +00:00
utils.py dissallow access to the context while addons import and register. 2012-12-19 07:27:23 +00:00