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-11-16 17:32:57 +0300
committerTon Roosendaal <ton@blender.org>2005-11-16 17:32:57 +0300
commit8c2c8bbfaa8a93a2e31a0b71b3afc71a9a1092de (patch)
tree1a05c6cb6bdb345e588c57b793102f3a43c433bb /source/blender/makesdna/DNA_constraint_types.h
parentb474f95c84a91399ec28ebaaf05bbde88aa73c69 (diff)
New Constraint option for Pose: "Local" Copy Location/Rotation.
The locality is restricted to action or user-transform only. Or as it goes in the code now: by setting a constraint local, it executes the constraint before it calculates the influence of Action or user transforms. ALso note that this works in Evil Eulerians. Meaning that when you only want to copy the X,Y or Z compenent of a euler, it can give unpredictable results when the other euler values are set, this because euler axis rotations work on top of each other.
Diffstat (limited to 'source/blender/makesdna/DNA_constraint_types.h')
-rw-r--r--source/blender/makesdna/DNA_constraint_types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_constraint_types.h b/source/blender/makesdna/DNA_constraint_types.h
index be4834164da..cf1c5101407 100644
--- a/source/blender/makesdna/DNA_constraint_types.h
+++ b/source/blender/makesdna/DNA_constraint_types.h
@@ -191,6 +191,9 @@ typedef struct bStretchToConstraint{
/* flags 0x2 and 0x8 were used in past, skip this */
/* to indicate which Ipo should be shown, maybe for 3d access later too */
#define CONSTRAINT_ACTIVE 0x10
+ /* only for Pose, evaluates constraints in posechannel local space */
+#define CONSTRAINT_LOCAL 0x20
+
/* bConstraintChannel.flag */
#define CONSTRAINT_CHANNEL_SELECT 0x01