diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2013-09-29 18:57:47 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2013-09-29 18:57:47 +0400 |
commit | a6789a7f2eecc81d299500c117510066cd836af6 (patch) | |
tree | 0557c8dffa050a5fa810044f63a8721ac9a7846c | |
parent | af915b443a24ec0ff5fa1d094157716080fe3424 (diff) |
Fix broken example, reported by Codemanx on IRC, thanks.
-rw-r--r-- | doc/python_api/examples/bpy.types.UIList.2.py | 2 | ||||
-rw-r--r-- | release/scripts/templates_py/ui_list.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/python_api/examples/bpy.types.UIList.2.py b/doc/python_api/examples/bpy.types.UIList.2.py index 3ffd099859a..4e30e6895d6 100644 --- a/doc/python_api/examples/bpy.types.UIList.2.py +++ b/doc/python_api/examples/bpy.types.UIList.2.py @@ -8,7 +8,7 @@ example of how to create/use filtering/reordering callbacks. import bpy -class MESH_UL_vgroups_slow(UIList): +class MESH_UL_vgroups_slow(bpy.types.UIList): # Constants (flags) # Be careful not to shadow FILTER_ITEM! VGROUP_EMPTY = 1 << 0 diff --git a/release/scripts/templates_py/ui_list.py b/release/scripts/templates_py/ui_list.py index 61ad0ae0435..92e1b29d2ae 100644 --- a/release/scripts/templates_py/ui_list.py +++ b/release/scripts/templates_py/ui_list.py @@ -1,7 +1,7 @@ import bpy -class MESH_UL_mylist(UIList): +class MESH_UL_mylist(bpy.types.UIList): # Constants (flags) # Be careful not to shadow FILTER_ITEM (i.e. UIList().bitflag_filter_item)! # E.g. VGROUP_EMPTY = 1 << 0 |