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:
authorTon Roosendaal <ton@blender.org>2005-10-25 23:13:04 +0400
committerTon Roosendaal <ton@blender.org>2005-10-25 23:13:04 +0400
commit8a21421e5414aa3d7f43e9bbde4b805a193639a6 (patch)
tree572d4bae18b9eb5f47340bc1a1eb05d81a2b2e15 /source/blender/makesdna/DNA_constraint_types.h
parent7fc4cf930ce6b8c77730e93c7972ac63773241d8 (diff)
New; Rotation Constraint allows to only copy X,Y,Z axis rotations.
Note this is based on eulers, so might give the common issues. :) For most cases it goes fine though, especially with only 1 axis constraint.
Diffstat (limited to 'source/blender/makesdna/DNA_constraint_types.h')
-rw-r--r--source/blender/makesdna/DNA_constraint_types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_constraint_types.h b/source/blender/makesdna/DNA_constraint_types.h
index 3b30613015a..e2cb9a0679d 100644
--- a/source/blender/makesdna/DNA_constraint_types.h
+++ b/source/blender/makesdna/DNA_constraint_types.h
@@ -193,6 +193,11 @@ typedef struct bStretchToConstraint{
/* bConstraintChannel.flag */
#define CONSTRAINT_CHANNEL_SELECT 0x01
+/* bRotateLikeConstraint.flag */
+#define ROTLIKE_X 0x01
+#define ROTLIKE_Y 0x02
+#define ROTLIKE_Z 0x04
+
/* bLocateLikeConstraint.flag */
#define LOCLIKE_X 0x01
#define LOCLIKE_Y 0x02