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:
authorMartin Poirier <theeth@yahoo.com>2007-03-18 17:53:17 +0300
committerMartin Poirier <theeth@yahoo.com>2007-03-18 17:53:17 +0300
commit31f79cf5b4fd622fbf345d8da2159f825490b849 (patch)
tree5a12d41ec2950686c171d6af984f582a4a8313bb /source/blender/makesdna
parent7170f9ec2dbf2eca2939f2fa21df0ee4b70cec29 (diff)
=== Constraints ===
Patch by Juho Vepsäläinen (bebraw) [ #5850 ] Inverted axis' buttons to Copy Rotation and Copy Location constraints This patch adds the options to invert the value being copied from each axis of the Copy Rot/Copy Loc constraints. This commit also includes some slight code sanitization and tool tips cleanup (for the two track constraints, the tool tips were really unuseful).
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_constraint_types.h21
1 files changed, 13 insertions, 8 deletions
diff --git a/source/blender/makesdna/DNA_constraint_types.h b/source/blender/makesdna/DNA_constraint_types.h
index 2eb1139dd07..0aa78a12a9f 100644
--- a/source/blender/makesdna/DNA_constraint_types.h
+++ b/source/blender/makesdna/DNA_constraint_types.h
@@ -253,15 +253,21 @@ 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
/* bLocateLikeConstraint.flag */
-#define LOCLIKE_X 0x01
-#define LOCLIKE_Y 0x02
-#define LOCLIKE_Z 0x04
-#define LOCSPACE 0x08
+#define LOCLIKE_X 0x01
+#define LOCLIKE_Y 0x02
+#define LOCLIKE_Z 0x04
+#define LOCSPACE 0x08
+#define LOCLIKE_X_INVERT 0x10
+#define LOCLIKE_Y_INVERT 0x20
+#define LOCLIKE_Z_INVERT 0x40
/* bSizeLikeConstraint.flag */
#define SIZELIKE_X 0x01
@@ -333,4 +339,3 @@ typedef struct bRigidBodyJointConstraint{
#define CONSTRAINT_RB_GENERIC6DOF 12
#endif
-