diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-01-28 22:21:15 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-01-28 22:21:15 +0300 |
commit | 6f3dfe81c0ff9d998528df7cc4bf94965270ed10 (patch) | |
tree | 357fd50931d7b5b13e29f97ad794ce69a260ecba /release/scripts | |
parent | e4882e3da2ed7af07dc5f3dc139d784b5337a796 (diff) |
missed some files last commit.
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/modules/bpy/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/modules/bpy/utils.py b/release/scripts/modules/bpy/utils.py index 55116281d0a..383d2be0780 100644 --- a/release/scripts/modules/bpy/utils.py +++ b/release/scripts/modules/bpy/utils.py @@ -60,8 +60,8 @@ def load_scripts(reload_scripts=False, refresh_scripts=False): if reload_scripts: # reload modules that may not be directly included - for type_class_name in dir(types): - type_class = getattr(types, type_class_name) + for type_class_name in dir(_bpy.types): + type_class = getattr(_bpy.types, type_class_name) module_name = getattr(type_class, "__module__", "") if module_name and module_name != "bpy.types": # hard coded for C types |