=IDProperties Python update=
[blender-staging.git] / source / blender / python / api2_2x / Blender.c
index 8bd0f08469d3854cbc56b21fee0a19756e392c49..23f3d7eaab5d96a21905f17f20aa4c6d2b8d64ee 100644 (file)
@@ -907,6 +907,10 @@ static PyObject *Blender_UnpackModesDict( void )
 /*****************************************************************************/
 /* Function:           initBlender              */
 /*****************************************************************************/
+extern PyTypeObject IDArray_Type;
+extern PyTypeObject IDGroup_Type;
+extern PyTypeObject IDGroup_Iter_Type;
+
 void M_Blender_Init(void)
 {
        PyObject *module;
@@ -971,6 +975,9 @@ void M_Blender_Init(void)
        EXPP_dict_set_item_str(dict, "event", PyString_FromString(""));
        EXPP_dict_set_item_str(dict, "mode", smode);
 
+       PyDict_SetItemString(dict, "IDGroupType", &IDGroup_Type);
+       PyDict_SetItemString(dict, "IDArrayType", &IDArray_Type);
+       
        PyDict_SetItemString(dict, "Armature", Armature_Init());
        PyDict_SetItemString(dict, "BezTriple", BezTriple_Init());
        PyDict_SetItemString(dict, "BGL", BGL_Init());