Fix broken example, reported by Codemanx on IRC, thanks.
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user