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:
authorJulian Eisel <julian@blender.org>2021-02-05 13:28:34 +0300
committerJulian Eisel <julian@blender.org>2021-02-05 13:28:34 +0300
commitfa96aa581192a14aafcb8fd183e5aed2cb708c9c (patch)
tree8902a6ed4b8a6f1c5fd2ea38ab05daac8cc81d26 /source/blender
parentdb40d5ed9767f8c64f7341bb002dcb4250cdf0b0 (diff)
Fix missing preview images for actions when browsing in external files
When reading the preview images of external .blend files, action data-blocks were not handled. Preview support for actions was added in 2397ccc583af.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/blenloader/intern/readblenentry.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readblenentry.c b/source/blender/blenloader/intern/readblenentry.c
index 0b0594c7f4a..237a0340552 100644
--- a/source/blender/blenloader/intern/readblenentry.c
+++ b/source/blender/blenloader/intern/readblenentry.c
@@ -243,6 +243,7 @@ LinkNode *BLO_blendhandle_get_previews(BlendHandle *bh, int ofblocktype, int *to
case ID_OB: /* fall through */
case ID_GR: /* fall through */
case ID_SCE: /* fall through */
+ case ID_AC: /* fall through */
new_prv = MEM_callocN(sizeof(PreviewImage), "newpreview");
BLI_linklist_prepend(&previews, new_prv);
tot++;