diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-10-01 06:04:06 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-10-01 06:04:06 +0400 |
commit | fb2f24972308192cec68a20769eaa2f72fe61032 (patch) | |
tree | 6a78279a7de65d9d794b250655ad254d816b7153 | |
parent | 846f11587674a0739f53ba3287f9ae6ccf6ee545 (diff) |
update UI introspection script for changes to blender.
-rw-r--r-- | release/scripts/startup/bl_ui/space_userpref.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index 444e9349e9f..64bf1e29348 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -20,7 +20,6 @@ import bpy from bpy.types import Header, Menu, Panel import os -import addon_utils def ui_items_general(col, context): @@ -1033,6 +1032,8 @@ class USERPREF_PT_addons(Panel): box.label(l) def draw(self, context): + import addon_utils + layout = self.layout userpref = context.user_preferences |