diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2013-01-28 22:46:04 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2013-01-28 22:46:04 +0400 |
commit | 6fdaa9c99a4660312e8e06051686fc30b9cc4c06 (patch) | |
tree | d70dcfa92e6246be63cc4c8a716dda09beb7fe5d /release | |
parent | 8042ecba9675cef08b1adc94adfc798f231eedb4 (diff) |
Fix [#34023] r54146 breaks name-display of default "UI_UL_list"
draw_item *is* optional (it then uses default C function), even though there is not much sense to register a class without it, except for our default UI_UL_list!
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/__init__.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/__init__.py b/release/scripts/startup/bl_ui/__init__.py index 3bb19a4964d..982c723f08e 100644 --- a/release/scripts/startup/bl_ui/__init__.py +++ b/release/scripts/startup/bl_ui/__init__.py @@ -138,7 +138,6 @@ def unregister(): # Define a default UIList, when a list does not need any custom drawing... class UI_UL_list(bpy.types.UIList): - def draw_item(self, context, layout, data, item, icon, active_data, active_propname, index): - pass + pass bpy.utils.register_class(UI_UL_list) |