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:
@@ -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
|
||||
|
Reference in New Issue
Block a user