diff options
author | Julian Eisel <julian@blender.org> | 2020-06-11 12:54:45 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-06-11 12:54:45 +0300 |
commit | 0b6def7059b6a64b3cef3ba7d4fa46000aee1761 (patch) | |
tree | 45ce089b35de29848e4dbed430fe3060ee69065f /source/blender/blenloader/intern/readfile.c | |
parent | a8b24ca61b1859b659dd22f411cb74cef54dc229 (diff) |
Fixes for changes in master
Diffstat (limited to 'source/blender/blenloader/intern/readfile.c')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 1a1b66c2de4..a88b804d5b2 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -2878,7 +2878,7 @@ static void direct_link_id_common( } if (id->uuid) { - BLO_read_data_address(fd, &id->uuid); + BLO_read_data_address(reader, &id->uuid); /* Make sure runtime fields are always zeroed out. */ BKE_asset_uuid_runtime_reset(id->uuid); } @@ -2887,7 +2887,6 @@ static void direct_link_id_common( direct_link_id_embedded_id(reader, current_library, id, id_old); } - /** \} */ /* -------------------------------------------------------------------- */ @@ -9748,13 +9747,12 @@ static BHead *read_libblock(FileData *fd, if (id->uuid) { /* Read all data into fd->datamap. */ - bhead = read_data_into_oldnewmap(fd, bhead, __func__); + bhead = read_data_into_datamap(fd, bhead, __func__); id->uuid = newdataadr(fd, id->uuid); /* Make sure runtime fields are always zeroed out. */ BKE_asset_uuid_runtime_reset(id->uuid); - oldnewmap_free_unused(fd->datamap); oldnewmap_clear(fd->datamap); return bhead; } |