Merging r40493 through r40509 from trunk into soc-2011-tomato
[blender.git] / release / scripts / startup / bl_ui / __init__.py
index c8da7e15031c5d8071aedfe92bf78d80f7d11d72..0f5fd8eecb16a78a614b9c6fd14c58104881fe0f 100644 (file)
@@ -97,7 +97,7 @@ def register():
 
         items_unique = set()
 
 
         items_unique = set()
 
-        for mod in addon_utils.modules(space_userpref.USERPREF_PT_addons._addons_fake_modules):
+        for mod in addon_utils.modules(addon_utils.addons_fake_modules):
             info = addon_utils.module_bl_info(mod)
             items_unique.add(info["category"])
 
             info = addon_utils.module_bl_info(mod)
             items_unique.add(info["category"])