PyAPI: expose low level RNA to bpy.types

This commit is contained in:
2015-11-30 11:02:09 +11:00
parent 5bfc32bab4
commit c1f05c30f9
3 changed files with 17 additions and 5 deletions

View File

@@ -320,9 +320,6 @@ void BPy_init_modules(void)
/* needs to be first so bpy_types can run */
PyModule_AddObject(mod, "types", BPY_rna_types());
/* metaclass for idprop types, bpy_types.py needs access */
PyModule_AddObject(mod, "StructMetaPropGroup", (PyObject *)&pyrna_struct_meta_idprop_Type);
/* needs to be first so bpy_types can run */
BPY_library_module(mod);