Fix T60213: crash loading .blend file with material override.

This commit is contained in:
Brecht Van Lommel 2019-01-06 15:22:47 +01:00
parent 53d6f40760
commit eb55990777
Notes: blender-bot 2023-02-14 08:10:06 +01:00
Referenced by issue #60213, Overide material kill blend file
1 changed files with 2 additions and 0 deletions

View File

@ -5748,6 +5748,8 @@ static void lib_link_view_layer(FileData *fd, Library *lib, ViewLayer *view_laye
lib_link_layer_collection(fd, lib, layer_collection, true);
}
view_layer->mat_override = newlibadr_us(fd, lib, view_layer->mat_override);
IDP_LibLinkProperty(view_layer->id_properties, fd);
}