Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Swaney <sswaney@centurytel.net>2005-03-06 17:55:00 +0300
committerStephen Swaney <sswaney@centurytel.net>2005-03-06 17:55:00 +0300
commit454041cc4fc9218e39c96d8d4baf74275f41d7d2 (patch)
treee02319c7d5b3801b5d28b92090026cc0cc530e4e /source/blender/python/api2_2x/Types.c
parentc8a84be5f41de6f7958f302eb6b72d153127bd3c (diff)
New Bpy type Text3d for accessing Blender's Font objects.
Contributed by Joilnen Leite (pidhash).
Diffstat (limited to 'source/blender/python/api2_2x/Types.c')
-rw-r--r--source/blender/python/api2_2x/Types.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/Types.c b/source/blender/python/api2_2x/Types.c
index 930ecc7c270..a4722c17c6e 100644
--- a/source/blender/python/api2_2x/Types.c
+++ b/source/blender/python/api2_2x/Types.c
@@ -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 );