diff options
author | Lukas Toenne <lukas.toenne@googlemail.com> | 2013-01-28 16:18:00 +0400 |
---|---|---|
committer | Lukas Toenne <lukas.toenne@googlemail.com> | 2013-01-28 16:18:00 +0400 |
commit | 0bf264f7ef523012be8fcd45f6c648ca11b657d1 (patch) | |
tree | e74d567403c8a96c17d1e9711271158cbfa330e9 /release | |
parent | c8d29c1af8ccab4bd401220a1e717de69348548c (diff) |
Fix for errors caused by fixing RNA function register flags. Default UIList class now has a dummy draw_item callback. Panel draw_header is now optional (most panel classes don't define it).
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/__init__.py b/release/scripts/startup/bl_ui/__init__.py index 982c723f08e..3bb19a4964d 100644 --- a/release/scripts/startup/bl_ui/__init__.py +++ b/release/scripts/startup/bl_ui/__init__.py @@ -138,6 +138,7 @@ def unregister(): # Define a default UIList, when a list does not need any custom drawing... class UI_UL_list(bpy.types.UIList): - pass + def draw_item(self, context, layout, data, item, icon, active_data, active_propname, index): + pass bpy.utils.register_class(UI_UL_list) |