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>2007-03-24 06:00:54 +0300
committerJoshua Leung <aligorith@gmail.com>2007-03-24 06:00:54 +0300
commit269e943d5849ff1f9f897f6ac32f6a64a1168afe (patch)
tree64a24ce87ae035164b19e82a623d9709d6bd13be /source/blender/makesdna/DNA_constraint_types.h
parent26fd086bca9aad6ea1b44813d8e52446d1b9e25b (diff)
== Copy Location Constraint ==
I've added two new options for this constraint: * Copy Bone Tip Location * Apply owner's location on top of copied location ('Offset')
Diffstat (limited to 'source/blender/makesdna/DNA_constraint_types.h')
-rw-r--r--source/blender/makesdna/DNA_constraint_types.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/source/blender/makesdna/DNA_constraint_types.h b/source/blender/makesdna/DNA_constraint_types.h
index 0aa78a12a9f..14506f1b1aa 100644
--- a/source/blender/makesdna/DNA_constraint_types.h
+++ b/source/blender/makesdna/DNA_constraint_types.h
@@ -253,27 +253,29 @@ typedef struct bRigidBodyJointConstraint{
#define CONSTRAINT_CHANNEL_PROTECTED 0x02
/* bRotateLikeConstraint.flag */
-#define ROTLIKE_X 0x01
-#define ROTLIKE_Y 0x02
-#define ROTLIKE_Z 0x04
+#define ROTLIKE_X 0x01
+#define ROTLIKE_Y 0x02
+#define ROTLIKE_Z 0x04
#define ROTLIKE_X_INVERT 0x08
#define ROTLIKE_Y_INVERT 0x10
#define ROTLIKE_Z_INVERT 0x20
+#define ROTLIKE_OFFSET 0x40
/* bLocateLikeConstraint.flag */
#define LOCLIKE_X 0x01
#define LOCLIKE_Y 0x02
#define LOCLIKE_Z 0x04
-#define LOCSPACE 0x08
+#define LOCLIKE_TIP 0x08
#define LOCLIKE_X_INVERT 0x10
#define LOCLIKE_Y_INVERT 0x20
#define LOCLIKE_Z_INVERT 0x40
+#define LOCLIKE_OFFSET 0x80
/* bSizeLikeConstraint.flag */
#define SIZELIKE_X 0x01
#define SIZELIKE_Y 0x02
#define SIZELIKE_Z 0x04
-#define SIZESPACE 0x08
+#define SIZELIKE_OFFSET 0x08
/* Axis flags */
#define LOCK_X 0x00