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:
authorJoseph Gilbert <ascotan@gmail.com>2004-04-19 10:57:41 +0400
committerJoseph Gilbert <ascotan@gmail.com>2004-04-19 10:57:41 +0400
commita6a32cf50414b5660c802dcd9067d422aaf5537f (patch)
treecaf1a009946eef9ec9c74fdb90bc43b70a29f806 /source/blender/python/api2_2x/Types.c
parent713a0ceefea27ea3d0b3a18a5d21cbe65803b93c (diff)
-NLA module added
-ability to set poses for the armatures - allows for keyframing armatures -adds support for actions/actionchannels -additional checking for addBone and clear parenting -moved getActionIpos from object module to NLA module
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 0bcf6b5afe0..3a1b95f8b59 100644
--- a/source/blender/python/api2_2x/Types.c
+++ b/source/blender/python/api2_2x/Types.c
@@ -48,6 +48,7 @@ PyObject *Types_Init (void)
* do it now, we get an easy way to crash Blender. Maybe we'd better
* have an Init function for all these internal types that more than one
* module can use. We could call it after setting the Blender dictionary */
+ Action_Type.ob_type = &PyType_Type;
matrix_Type.ob_type = &PyType_Type;
vector_Type.ob_type = &PyType_Type;
euler_Type.ob_type = &PyType_Type;
@@ -111,6 +112,7 @@ PyObject *Types_Init (void)
PyDict_SetItemString(dict, "eulerType", (PyObject *)&euler_Type);
PyDict_SetItemString(dict, "quaternionType", (PyObject *)&quaternion_Type);
PyDict_SetItemString(dict, "BezTripleType", (PyObject *)&BezTriple_Type);
+ PyDict_SetItemString(dict, "ActionType", (PyObject *)&Action_Type);
return submodule;
}