diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-05-23 15:05:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-05-23 15:11:39 +0300 |
commit | b4b569feebd0c2486808ebb93b5b1fcac8aae749 (patch) | |
tree | c09057ec6b9556d4672c7fca5d470f21696f50d8 /source/blender/blenloader/intern/readfile.c | |
parent | c0ac4791341851cc2435c47b96304de38f88120c (diff) |
Cleanup: rename idname -> name
This isn't for ID's
Diffstat (limited to 'source/blender/blenloader/intern/readfile.c')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 6695b6ced37..6d3f95fa63c 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -2886,7 +2886,7 @@ static void lib_link_workspaces(FileData *fd, Main *bmain) * except when loading linked data. */ Scene *scene = relation->parent; if (scene->id.lib != NULL) { - relation->value = BLI_findstring(&scene->view_layers, relation->value_idname, offsetof(ViewLayer, name)); + relation->value = BLI_findstring(&scene->view_layers, relation->value_name, offsetof(ViewLayer, name)); } if (relation->value == NULL) { relation->value = scene->view_layers.first; |