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:
Diffstat (limited to 'source/blender/makesdna/DNA_constraint_types.h')
-rw-r--r--source/blender/makesdna/DNA_constraint_types.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/source/blender/makesdna/DNA_constraint_types.h b/source/blender/makesdna/DNA_constraint_types.h
index 2646f803bf9..cfb180cf33d 100644
--- a/source/blender/makesdna/DNA_constraint_types.h
+++ b/source/blender/makesdna/DNA_constraint_types.h
@@ -67,13 +67,11 @@ typedef struct bConstraint{
typedef struct bKinematicConstraint{
Object *tar;
float tolerance; /* Acceptable distance from target */
- int iterations; /* Maximum number of iterations to try */
+ short iterations; /* Maximum number of iterations to try */
+ short flag; /* Like IK to Tip */
char subtarget[32]; /* String to specify sub-object target */
- float cacheeff[3]; /* Target location cache */
- int reserved1;
- float cachemat[4][4]; /* Result cache */
} bKinematicConstraint;
typedef struct bTrackToConstraint{
@@ -219,5 +217,8 @@ typedef struct bStretchToConstraint{
#define PLANE_Y 0x00000001
#define PLANE_Z 0x00000002
+/* bKinematicConstraint->flag */
+#define CONSTRAINT_IK_TIP 1
+
#endif