diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-03-19 07:22:45 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-03-19 07:33:43 +0300 |
commit | 74609bfd510c98161b8e251cb10f6e299e44e544 (patch) | |
tree | d6d07c603040092d6d42c6f2a2cfd9e2b34249fd /source/blender/makesdna | |
parent | 36deb8a48ef22e8732535c48b23af3dbc260495f (diff) |
Cleanup: minor changes to pose-mode apply visual transform
- Remove use of evaluated poses, instead calculate transformations
into an array which is applied afterwards.
- Only update ID's for poses that have been changed.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_action_types.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_action_types.h b/source/blender/makesdna/DNA_action_types.h index 27374c451e9..5cc525a6cff 100644 --- a/source/blender/makesdna/DNA_action_types.h +++ b/source/blender/makesdna/DNA_action_types.h @@ -287,7 +287,10 @@ typedef struct bPoseChannel { short rotmode; char _pad[2]; - /** Matrix result of loc/quat/size, and where we put deform in, see next line */ + /** + * Matrix result of location/rotation/scale components & constraints. + * This is the dynamic component of `pose_mat` (without #Bone.arm_mat). + */ float chan_mat[4][4]; /** * Constraints accumulate here. in the end, `pose_mat = bone->arm_mat * chan_mat` |