Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/readblenentry.c
| Show First 20 Lines • Show All 155 Lines • ▼ Show 20 Lines | for (bhead = blo_firstbhead(fd); bhead; bhead = blo_nextbhead(fd, bhead)) { | ||||
| if (bhead->code == ofblocktype) { | if (bhead->code == ofblocktype) { | ||||
| const char *idname = bhead_id_name(fd, bhead); | const char *idname = bhead_id_name(fd, bhead); | ||||
| switch (GS(idname)) { | switch (GS(idname)) { | ||||
| case ID_MA: /* fall through */ | case ID_MA: /* fall through */ | ||||
| case ID_TE: /* fall through */ | case ID_TE: /* fall through */ | ||||
| case ID_IM: /* fall through */ | case ID_IM: /* fall through */ | ||||
| case ID_WO: /* fall through */ | case ID_WO: /* fall through */ | ||||
| case ID_LA: /* fall through */ | case ID_LA: /* fall through */ | ||||
| case ID_BR: /* fall through */ | |||||
| case ID_OB: /* fall through */ | |||||
| case ID_GR: /* fall through */ | |||||
| case ID_SCE: /* fall through */ | |||||
| new_prv = MEM_callocN(sizeof(PreviewImage), "newpreview"); | new_prv = MEM_callocN(sizeof(PreviewImage), "newpreview"); | ||||
| BLI_linklist_prepend(&previews, new_prv); | BLI_linklist_prepend(&previews, new_prv); | ||||
| tot++; | tot++; | ||||
| looking = 1; | looking = 1; | ||||
| break; | break; | ||||
| default: | default: | ||||
| break; | break; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 200 Lines • Show Last 20 Lines | |||||