From ea265fc69702566a846be3005d9fd814a10d7d54 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 31 Oct 2009 13:31:23 +0000 Subject: change blender python interface for classes not to ise __idname__ rather bl_idname since __somename__ is for pythons internal use. replacements... "__idname__" -> "bl_idname" "__props__" -> "bl_props" "__label__" -> "bl_label" "__register__" -> "bl_register" "__undo__" -> "bl_undo" "__space_type__" -> "bl_space_type" "__default_closed__" -> "bl_default_closed" "__region_type__" -> "bl_region_type" "__context__" -> "bl_context" "__show_header__" -> "bl_show_header" "__URL__" -> "_url" --- source/blender/python/rna_dump.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/python/rna_dump.py') diff --git a/source/blender/python/rna_dump.py b/source/blender/python/rna_dump.py index 66fb76c35aa..7dde4007f66 100644 --- a/source/blender/python/rna_dump.py +++ b/source/blender/python/rna_dump.py @@ -123,10 +123,10 @@ seek(bpy.data, 'bpy.data', 0) ''' for d in dir(bpy.types): t = getattr(bpy.types, d) - try: r = t.__rna__ + try: r = t.bl_rna except: r = None if r: - seek(r, 'bpy.types.' + d + '.__rna__', 0) + seek(r, 'bpy.types.' + d + '.bl_rna', 0) ''' #print dir(bpy) -- cgit v1.2.3