New Bpy type Text3d for accessing Blender's Font objects.
[blender.git] / source / blender / python / api2_2x / Types.c
index 930ecc7c270ad869020b28cebb5786195dc80380..a4722c17c6ebc86252a775c4b03cfbb779283797 100644 (file)
@@ -74,6 +74,7 @@ void types_InitAll( void )
        RenderData_Type.ob_type = &PyType_Type;
        Scene_Type.ob_type = &PyType_Type;
        Text_Type.ob_type = &PyType_Type;
+       Text3d_Type.ob_type = &PyType_Type;
        Texture_Type.ob_type = &PyType_Type;
        Wave_Type.ob_type = &PyType_Type;
        World_Type.ob_type = &PyType_Type;
@@ -134,6 +135,7 @@ PyObject *Types_Init( void )
        PyDict_SetItemString( dict, "ImageType", ( PyObject * ) & Image_Type );
        PyDict_SetItemString( dict, "LampType", ( PyObject * ) & Lamp_Type );
        PyDict_SetItemString( dict, "TextType", ( PyObject * ) & Text_Type );
+       PyDict_SetItemString( dict, "Text3dType", ( PyObject * ) & Text3d_Type );
        PyDict_SetItemString( dict, "MaterialType",
                              ( PyObject * ) & Material_Type );