From fa96aa581192a14aafcb8fd183e5aed2cb708c9c Mon Sep 17 00:00:00 2001 From: Julian Eisel Date: Fri, 5 Feb 2021 11:28:34 +0100 Subject: [PATCH] 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. --- source/blender/blenloader/intern/readblenentry.c | 1 + 1 file changed, 1 insertion(+) 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++;