Python Panels WIP
authorCampbell Barton <ideasman42@gmail.com>
Wed, 1 Apr 2009 12:43:07 +0000 (12:43 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 1 Apr 2009 12:43:07 +0000 (12:43 +0000)
commit3224efc38419201b44503982541aca8eaeb29486
tree77a09bed4e1668427c48ceac7fdb8021eaa7f729
parent3a28a7450596f46281431bd163b9a237eb481055
Python Panels WIP
- Register python panels
- Added a generic class checking function BPY_class_validate() for panels/operators.
- No button drawing yet

Brecht, Added RNA_enum_value_from_id() and RNA_enum_id_from_value() to rna_access.c to do lookups between identifiers and values of EnumPropertyItem's, Not sure if these should go here.
18 files changed:
source/blender/blenkernel/intern/context.c
source/blender/blenkernel/intern/screen.c
source/blender/editors/include/ED_mesh.h
source/blender/makesrna/RNA_access.h
source/blender/makesrna/RNA_enum_types.h
source/blender/makesrna/intern/rna_access.c
source/blender/makesrna/intern/rna_screen.c
source/blender/makesrna/intern/rna_space.c
source/blender/python/BPY_extern.h
source/blender/python/intern/bpy_interface.c
source/blender/python/intern/bpy_operator.c
source/blender/python/intern/bpy_operator_wrap.c [moved from source/blender/python/intern/bpy_opwrapper.c with 75% similarity]
source/blender/python/intern/bpy_operator_wrap.h [moved from source/blender/python/intern/bpy_opwrapper.h with 95% similarity]
source/blender/python/intern/bpy_panel_wrap.h [new file with mode: 0644]
source/blender/python/intern/bpy_rna.c
source/blender/python/intern/bpy_ui.c
source/blender/python/intern/bpy_util.c
source/blender/python/intern/bpy_util.h