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:
authorKen Hughes <khughes@pacific.edu>2006-05-07 18:57:58 +0400
committerKen Hughes <khughes@pacific.edu>2006-05-07 18:57:58 +0400
commitcd3af13a1b1aaada000322373394c02cc6b773fb (patch)
treec03c4422ae0c652e4a98c83e0e7e5c8a55b90a0d /source/blender/python/api2_2x/Blender.c
parent8255bdce574283df7f04ccb24c607c1e45d956e9 (diff)
===Python API===
New Constraint API. Constraints are accessible through a "constraints" attribute in poses and objects. Would be REALLY NICE for armature users to pound on this code.
Diffstat (limited to 'source/blender/python/api2_2x/Blender.c')
-rw-r--r--source/blender/python/api2_2x/Blender.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/Blender.c b/source/blender/python/api2_2x/Blender.c
index 164ec5d426b..8f89989e0c8 100644
--- a/source/blender/python/api2_2x/Blender.c
+++ b/source/blender/python/api2_2x/Blender.c
@@ -64,6 +64,7 @@ struct ID; /*keep me up here */
#include "Armature.h"
#include "BezTriple.h"
#include "Camera.h"
+#include "Constraint.h"
#include "Curve.h"
#include "CurNurb.h"
#include "Draw.h"
@@ -928,6 +929,7 @@ void M_Blender_Init(void)
PyDict_SetItemString(dict, "BezTriple", BezTriple_Init());
PyDict_SetItemString(dict, "BGL", BGL_Init());
PyDict_SetItemString(dict, "CurNurb", CurNurb_Init());
+ PyDict_SetItemString(dict, "Constraint", Constraint_Init());
PyDict_SetItemString(dict, "Curve", Curve_Init());
PyDict_SetItemString(dict, "Camera", Camera_Init());
PyDict_SetItemString(dict, "Draw", Draw_Init());