Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_300.c
| Show First 20 Lines • Show All 1,476 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 18 Lines | LISTBASE_FOREACH (bNodeTree *, ntree, &bmain->nodetrees) { | ||||
| BLI_snprintf(node->idname, | BLI_snprintf(node->idname, | ||||
| sizeof(node->idname), | sizeof(node->idname), | ||||
| "FunctionNodeLegacy%s", | "FunctionNodeLegacy%s", | ||||
| temp_idname + strlen("FunctionNode")); | temp_idname + strlen("FunctionNode")); | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| No newline at end of file | No newline at end of file | ||||