Fix broken example, reported by Codemanx on IRC, thanks.

This commit is contained in:
Bastien Montagne
2013-09-29 14:57:47 +00:00
parent af915b443a
commit a6789a7f2e
2 changed files with 2 additions and 2 deletions

View File

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

View File

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