diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2012-06-12 10:22:23 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2012-06-12 10:22:23 +0400 |
commit | 2127e62c9b2d05351013ceb5996cddc38925b457 (patch) | |
tree | b9de0f36991c7a1588188fa27ee0d055559ae2c5 /source/blender/makesdna/DNA_constraint_types.h | |
parent | ac5a735e3fe9fe29e38e3a20c20da87b27feb112 (diff) |
"Fix" for [#30704] Action Constraint mapping bug
Feature request rather than a real bug: allow constrained bone to use "object" part of the linked action, in addition to "same-named bone" part.
Diffstat (limited to 'source/blender/makesdna/DNA_constraint_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_constraint_types.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_constraint_types.h b/source/blender/makesdna/DNA_constraint_types.h index 59d8e81de39..aae167d05c6 100644 --- a/source/blender/makesdna/DNA_constraint_types.h +++ b/source/blender/makesdna/DNA_constraint_types.h @@ -247,7 +247,7 @@ typedef struct bActionConstraint { int end; float min; float max; - int pad; + int flag; struct bAction *act; char subtarget[64]; /* MAX_ID_NAME-2 */ } bActionConstraint; @@ -561,6 +561,12 @@ typedef enum eSameVolume_Modes { SAMEVOL_Z } eSameVolume_Modes; +/* bActionConstraint.flag + * WARNING: bitwise! */ +typedef enum eAction_flags { + BONE_USE_OBJECT_ACTION = 1 << 0, /* Bones use "object" part of target action, instead of "same bone name" part. */ +} eAction_flags; + /* Locked-Axis Values (Locked Track) */ typedef enum eLockAxis_Modes { LOCK_X = 0, |