diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-11 03:11:17 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-11 03:11:17 +0300 |
commit | fb8c135584292ddb8ddb7fe5060cac8f941100e2 (patch) | |
tree | b379555e39eabedb5db83d581063cb0a98d7c837 /source/blender/python/intern/bpy_rna.h | |
parent | 8fd81ab9e61e29aad78ebe3bcc6cc8741219f629 (diff) |
minor python register changes.
- KeyingSetInfo classes are now collected like Panels, Operators etc so bpy.utils.register_module() can be used.
- move bpy.types.register() to bpy.utils.register_class
Diffstat (limited to 'source/blender/python/intern/bpy_rna.h')
-rw-r--r-- | source/blender/python/intern/bpy_rna.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_rna.h b/source/blender/python/intern/bpy_rna.h index 31954eb6828..bbcc85581b2 100644 --- a/source/blender/python/intern/bpy_rna.h +++ b/source/blender/python/intern/bpy_rna.h @@ -112,4 +112,8 @@ int pyrna_write_check(void); void BPY_modules_update(struct bContext *C); //XXX temp solution +/* bpy.utils.(un)register_class */ +extern PyMethodDef meth_bpy_register_class; +extern PyMethodDef meth_bpy_unregister_class; + #endif |