[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60424] trunk/blender: Fix broken example, reported by Codemanx on IRC, thanks.
Bastien Montagne
montagne29 at wanadoo.fr
Sun Sep 29 16:57:47 CEST 2013
Revision: 60424
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60424
Author: mont29
Date: 2013-09-29 14:57:47 +0000 (Sun, 29 Sep 2013)
Log Message:
-----------
Fix broken example, reported by Codemanx on IRC, thanks.
Modified Paths:
--------------
trunk/blender/doc/python_api/examples/bpy.types.UIList.2.py
trunk/blender/release/scripts/templates_py/ui_list.py
Modified: trunk/blender/doc/python_api/examples/bpy.types.UIList.2.py
===================================================================
--- trunk/blender/doc/python_api/examples/bpy.types.UIList.2.py 2013-09-29 14:24:20 UTC (rev 60423)
+++ trunk/blender/doc/python_api/examples/bpy.types.UIList.2.py 2013-09-29 14:57:47 UTC (rev 60424)
@@ -8,7 +8,7 @@
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
Modified: trunk/blender/release/scripts/templates_py/ui_list.py
===================================================================
--- trunk/blender/release/scripts/templates_py/ui_list.py 2013-09-29 14:24:20 UTC (rev 60423)
+++ trunk/blender/release/scripts/templates_py/ui_list.py 2013-09-29 14:57:47 UTC (rev 60424)
@@ -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
More information about the Bf-blender-cvs
mailing list