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.
This commit is contained in:
2009-04-01 12:43:07 +00:00
parent 3a28a74505
commit 3224efc384
18 changed files with 299 additions and 153 deletions

View File

@@ -24,7 +24,7 @@
*/
#include "bpy_operator.h"
#include "bpy_opwrapper.h"
#include "bpy_operator_wrap.h"
#include "bpy_rna.h" /* for setting arg props only - pyrna_py_to_prop() */
#include "bpy_compat.h"