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:
authorJoshua Leung <aligorith@gmail.com>2010-01-02 07:14:17 +0300
committerJoshua Leung <aligorith@gmail.com>2010-01-02 07:14:17 +0300
commita7d268d38e348722977a9fcf72624af691e724cd (patch)
tree36b8374679b46ce301a301226326dcd3605a0557 /source/blender/makesdna/DNA_constraint_types.h
parentbbac520987e68492d27c12a2b863c7839309008b (diff)
Cessen Rigging Request: "Copy Transforms" Constraint
This constraint simply copies the transformation matrix of the target, and assigns it to the owner.
Diffstat (limited to 'source/blender/makesdna/DNA_constraint_types.h')
-rw-r--r--source/blender/makesdna/DNA_constraint_types.h23
1 files changed, 15 insertions, 8 deletions
diff --git a/source/blender/makesdna/DNA_constraint_types.h b/source/blender/makesdna/DNA_constraint_types.h
index 0476d69544a..163933da12a 100644
--- a/source/blender/makesdna/DNA_constraint_types.h
+++ b/source/blender/makesdna/DNA_constraint_types.h
@@ -200,6 +200,20 @@ typedef struct bLocateLikeConstraint {
char subtarget[32];
} bLocateLikeConstraint;
+/* Copy Scale Constraint */
+typedef struct bSizeLikeConstraint {
+ Object *tar;
+ int flag;
+ int reserved1;
+ char subtarget[32];
+} bSizeLikeConstraint;
+
+/* Copy Transform Constraint */
+typedef struct bTransLikeConstraint {
+ Object *tar;
+ char subtarget[32];
+} bTransLikeConstraint;
+
/* Floor Constraint */
typedef struct bMinMaxConstraint {
Object *tar;
@@ -211,14 +225,6 @@ typedef struct bMinMaxConstraint {
char subtarget[32];
} bMinMaxConstraint;
-/* Copy Scale Constraint */
-typedef struct bSizeLikeConstraint {
- Object *tar;
- int flag;
- int reserved1;
- char subtarget[32];
-} bSizeLikeConstraint;
-
/* Action Constraint */
typedef struct bActionConstraint {
Object *tar;
@@ -401,6 +407,7 @@ typedef enum eBConstraint_Types {
CONSTRAINT_TYPE_SHRINKWRAP, /* shrinkwrap (loc/rot) constraint */
CONSTRAINT_TYPE_DAMPTRACK, /* New Tracking constraint that minimises twisting */
CONSTRAINT_TYPE_SPLINEIK, /* Spline-IK - Align 'n' bones to a curve */
+ CONSTRAINT_TYPE_TRANSLIKE, /* Copy transform matrix */
/* NOTE: no constraints are allowed to be added after this */
NUM_CONSTRAINT_TYPES