Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/readfile.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 2,898 Lines • ▼ Show 20 Lines | |||||
| } | } | ||||
| static void direct_link_workspace(FileData *fd, WorkSpace *workspace, const Main *main) | static void direct_link_workspace(FileData *fd, WorkSpace *workspace, const Main *main) | ||||
| { | { | ||||
| link_list(fd, BKE_workspace_layouts_get(workspace)); | link_list(fd, BKE_workspace_layouts_get(workspace)); | ||||
| link_list(fd, &workspace->hook_layout_relations); | link_list(fd, &workspace->hook_layout_relations); | ||||
| link_list(fd, &workspace->scene_viewlayer_relations); | link_list(fd, &workspace->scene_viewlayer_relations); | ||||
| link_list(fd, BKE_workspace_transform_orientations_get(workspace)); | link_list(fd, BKE_workspace_transform_orientations_get(workspace)); | ||||
| link_list(fd, &workspace->bl_origins); | |||||
| for (WorkSpaceDataRelation *relation = workspace->hook_layout_relations.first; | for (WorkSpaceDataRelation *relation = workspace->hook_layout_relations.first; | ||||
| relation; | relation; | ||||
| relation = relation->next) | relation = relation->next) | ||||
| { | { | ||||
| relation->parent = newglobadr(fd, relation->parent); /* data from window - need to access through global oldnew-map */ | relation->parent = newglobadr(fd, relation->parent); /* data from window - need to access through global oldnew-map */ | ||||
| relation->value = newdataadr(fd, relation->value); | relation->value = newdataadr(fd, relation->value); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 8,107 Lines • Show Last 20 Lines | |||||