update UI introspection script for changes to blender.

This commit is contained in:
Campbell Barton
2012-10-01 02:04:06 +00:00
parent 846f115876
commit fb2f249723

View File

@@ -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