Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@blender.org>2021-02-04 16:17:50 +0300
committerSybren A. Stüvel <sybren@blender.org>2021-02-04 20:56:41 +0300
commit2397ccc583afbd908e54237f29c80bbc99b43740 (patch)
tree2a6f8404e6b6fc4fcb08c226b2fe2c276fd388c1 /source/blender/makesdna/DNA_action_types.h
parente027d93ab08d0bf37dff9d544489595c58234966 (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/DNA_action_types.h')
-rw-r--r--source/blender/makesdna/DNA_action_types.h2
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 */