diff options
author | Joshua Leung <aligorith@gmail.com> | 2007-09-25 09:04:34 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2007-09-25 09:04:34 +0400 |
commit | 2d429e1d548c2049c2179574a783ea791c7132ed (patch) | |
tree | a55a0d3c12ba461deaa51ee53144e12992aad9ba /source/blender/makesdna/DNA_armature_types.h | |
parent | 4ad6ac1caddcecc7e6a00f316cf60ea4d8b2aa38 (diff) |
== Armature Animation Fixes ==
This commit fixes several bugs related to animating armatures. I've also tidied up the formatting in a few files along the way, and also commented the flags for this pose->flag.
What's new/fixed:
* Undo will no longer destroy entire un-keyframed poses. Now it behaves as expected, and only reverses the most recent change.
* On some files, POSE_DO_UNLOCK somehow got set on files and never cleared. The symptom of this was a file in which you suddenly could no longer pose an armature at all without using auto-keyframing. A check to prevent this from happening again has been added (it will also fix old files too)
Notes:
- Now, all PoseChannels get tagged with BONE_UNKEYED after they have been transformed. This flag prevents IPO data being flushed over these new values, even after undo.
- These tags only get removed on frame-changes or inserting new keyframes.
Diffstat (limited to 'source/blender/makesdna/DNA_armature_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_armature_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_armature_types.h b/source/blender/makesdna/DNA_armature_types.h index 53a5f26033c..31a95363802 100644 --- a/source/blender/makesdna/DNA_armature_types.h +++ b/source/blender/makesdna/DNA_armature_types.h @@ -145,6 +145,7 @@ typedef struct bArmature { /* multiplies vgroup with envelope */ #define BONE_MULT_VG_ENV 2048 #define BONE_NO_DEFORM 4096 - + /* set to prevent destruction of its unkeyframed pose (after transform) */ +#define BONE_UNKEYED 8192 #endif |