diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2021-02-04 16:17:50 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2021-02-04 20:56:41 +0300 |
commit | 2397ccc583afbd908e54237f29c80bbc99b43740 (patch) | |
tree | 2a6f8404e6b6fc4fcb08c226b2fe2c276fd388c1 /source/blender/makesdna | |
parent | e027d93ab08d0bf37dff9d544489595c58234966 (diff) |
Animation: Add PreviewImage to bAction struct
Make it possible to attach a preview image to an Action.
In the #asset_browser_pose_libraries project, poses will be stored as
individual Action datablocks. Having a thumbnail for each pose is of
course essential.
Reviewed By: mont29
Differential Revision: https://developer.blender.org/D10306
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_action_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_action_types.h b/source/blender/makesdna/DNA_action_types.h index 790a7a36288..96245e3b067 100644 --- a/source/blender/makesdna/DNA_action_types.h +++ b/source/blender/makesdna/DNA_action_types.h @@ -676,6 +676,8 @@ typedef struct bAction { */ int idroot; char _pad[4]; + + PreviewImage *preview; } bAction; /* Flags for the action */ |