diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-11-20 05:56:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-11-20 05:56:58 +0300 |
commit | 03d8fd4616e13aaa3398a56e2bff7c91985148d0 (patch) | |
tree | b840227f1ab206f7aebc34da3fe3a74f65511b7f /release/scripts/modules/bpy/__init__.py | |
parent | 96952b83fa264117f5e2b6931360dfb661885a70 (diff) |
- use relative imports for packages
- reload() has been removed from pythons builtins. use imp.reload() instead (still need to apply globally).
- fixed own mistake, not ignoring 'filter_glob' as a keyword argument (broke fbx, obj, 3ds export)
Diffstat (limited to 'release/scripts/modules/bpy/__init__.py')
-rw-r--r-- | release/scripts/modules/bpy/__init__.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/release/scripts/modules/bpy/__init__.py b/release/scripts/modules/bpy/__init__.py index cba85d935ae..3d8bf0724fb 100644 --- a/release/scripts/modules/bpy/__init__.py +++ b/release/scripts/modules/bpy/__init__.py @@ -26,9 +26,8 @@ data = _bpy.data context = _bpy.context # python modules -from bpy import utils, path - -from bpy import ops as _ops_module +from . import utils, path +from . import ops as _ops_module # fake operator module ops = _ops_module.ops_fake_module |