Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/readfile.c
| Show First 20 Lines • Show All 3,004 Lines • ▼ Show 20 Lines | #endif | ||||
| sclip->mask_info.mask = restore_pointer_by_name( | sclip->mask_info.mask = restore_pointer_by_name( | ||||
| id_map, (ID *)sclip->mask_info.mask, USER_REAL); | id_map, (ID *)sclip->mask_info.mask, USER_REAL); | ||||
| sclip->scopes.ok = 0; | sclip->scopes.ok = 0; | ||||
| } | } | ||||
| else if (sl->spacetype == SPACE_SPREADSHEET) { | else if (sl->spacetype == SPACE_SPREADSHEET) { | ||||
| SpaceSpreadsheet *sspreadsheet = (SpaceSpreadsheet *)sl; | SpaceSpreadsheet *sspreadsheet = (SpaceSpreadsheet *)sl; | ||||
| sspreadsheet->pinned_id = restore_pointer_by_name( | LISTBASE_FOREACH (SpreadsheetContext *, context, &sspreadsheet->context_path) { | ||||
| id_map, sspreadsheet->pinned_id, USER_IGNORE); | if (context->type == SPREADSHEET_CONTEXT_OBJECT) { | ||||
| SpreadsheetContextObject *object_context = (SpreadsheetContextObject *)context; | |||||
| object_context->object = restore_pointer_by_name( | |||||
| id_map, (ID *)object_context->object, USER_IGNORE); | |||||
| } | |||||
| } | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| /** | /** | ||||
| * Used to link a file (without UI) to the current UI. | * Used to link a file (without UI) to the current UI. | ||||
| ▲ Show 20 Lines • Show All 2,779 Lines • Show Last 20 Lines | |||||