Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_300.c
| Show First 20 Lines • Show All 1,469 Lines • ▼ Show 20 Lines | LISTBASE_FOREACH (bScreen *, screen, &bmain->screens) { | ||||
| LISTBASE_FOREACH (SpaceLink *, sl, &area->spacedata) { | LISTBASE_FOREACH (SpaceLink *, sl, &area->spacedata) { | ||||
| switch (sl->spacetype) { | switch (sl->spacetype) { | ||||
| case SPACE_FILE: { | case SPACE_FILE: { | ||||
| SpaceFile *sfile = (SpaceFile *)sl; | SpaceFile *sfile = (SpaceFile *)sl; | ||||
| if (sfile->params) { | if (sfile->params) { | ||||
| sfile->params->flag &= ~(FILE_PARAMS_FLAG_UNUSED_1 | FILE_PARAMS_FLAG_UNUSED_2 | | sfile->params->flag &= ~(FILE_PARAMS_FLAG_UNUSED_1 | FILE_PARAMS_FLAG_UNUSED_2 | | ||||
| FILE_PARAMS_FLAG_UNUSED_3 | FILE_PARAMS_FLAG_UNUSED_4); | FILE_PARAMS_FLAG_UNUSED_3 | FILE_PARAMS_FLAG_UNUSED_4); | ||||
| } | } | ||||
| /* New default import type: Append with reuse. */ | |||||
| if (sfile->asset_params) { | |||||
| sfile->asset_params->import_type = FILE_ASSET_IMPORT_APPEND_REUSE; | |||||
| } | |||||
| break; | break; | ||||
| } | } | ||||
| default: | default: | ||||
| break; | break; | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| Show All 31 Lines | void blo_do_versions_300(FileData *fd, Library *UNUSED(lib), Main *bmain) | ||||
| * - "versioning_userdef.c", #do_versions_theme | * - "versioning_userdef.c", #do_versions_theme | ||||
| * | * | ||||
| * \note Keep this message at the bottom of the function. | * \note Keep this message at the bottom of the function. | ||||
| */ | */ | ||||
| { | { | ||||
| /* Keep this block, even when empty. */ | /* Keep this block, even when empty. */ | ||||
| } | } | ||||
| } | } | ||||
| No newline at end of file | No newline at end of file | ||||