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
This commit is contained in:
2011-02-11 00:11:17 +00:00
parent 8fd81ab9e6
commit fb8c135584
8 changed files with 131 additions and 133 deletions

View File

@@ -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