diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2019-04-18 23:17:04 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2019-04-18 23:19:44 +0300 |
commit | 638938e5a8c30c405c3b4e96ab4f78095003958b (patch) | |
tree | f6a3e274c4a555ee48a5e284a8e150ef57307f87 /source/blender/makesdna/DNA_vec_types.h | |
parent | e8c9e85401ef6162656cf3b10c5aec509ae8a850 (diff) |
Armature: remove remains of the object-level deformation data cache.
Now that B-Bone shape data is kept in bPoseChannel_Runtime, the
armature level cache only holds one quaternion value per bone.
It can also be moved to runtime, and the structure removed.
This has an additional effect that, as far as I can tell, now
the Armature modifier can run as soon as all of the bones it
actually needs are done, thus making T59848 a purely depsgraph
level problem.
Diffstat (limited to 'source/blender/makesdna/DNA_vec_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_vec_types.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_vec_types.h b/source/blender/makesdna/DNA_vec_types.h index 06e6d881d0e..72a6056e239 100644 --- a/source/blender/makesdna/DNA_vec_types.h +++ b/source/blender/makesdna/DNA_vec_types.h @@ -83,4 +83,13 @@ typedef struct rctf { float ymin, ymax; } rctf; +/** dual quaternion. */ +typedef struct DualQuat { + float quat[4]; + float trans[4]; + + float scale[4][4]; + float scale_weight; +} DualQuat; + #endif |