2.5 Python api
- rearranged modules bpyui -> bpy.ui, bpy -> bpy.data, remove bpydoc - new module bpy.types, stores a list of all struct types - added __rna__ attribute to types - eg bpy.types.World.__rna__ so you can access the rna data from a type. (so bpydoc.structs isnt needed anymore) - removed unused subtyping method (use python subclassing rather then C PyTypeObject)
This commit is contained in:
@@ -60,10 +60,8 @@ typedef struct {
|
||||
} BPy_PropertyRNA;
|
||||
|
||||
PyObject *BPY_rna_module( void );
|
||||
PyObject *BPY_rna_doc( void );
|
||||
void BPY_rna_init_types( void );
|
||||
void BPY_rna_free_types( void );
|
||||
|
||||
/*PyObject *BPY_rna_doc( void );*/
|
||||
PyObject *BPY_rna_types( void );
|
||||
|
||||
PyObject *pyrna_struct_CreatePyObject( PointerRNA *ptr );
|
||||
PyObject *pyrna_prop_CreatePyObject( PointerRNA *ptr, PropertyRNA *prop );
|
||||
|
Reference in New Issue
Block a user