Libquery: refactor: handle scene's master collection like any othe embedded ID.

This commit is contained in:
Bastien Montagne 2020-05-20 18:14:07 +02:00
parent 3a284a37fd
commit 1c79484d53
1 changed files with 1 additions and 1 deletions

View File

@ -564,7 +564,7 @@ static void library_foreach_ID_link(Main *bmain,
/* This pointer can be NULL during old files reading, better be safe than sorry. */
if (scene->master_collection != NULL) {
library_foreach_collection(&data, scene->master_collection);
BKE_library_foreach_ID_embedded(&data, (ID **)&scene->master_collection);
}
LISTBASE_FOREACH (ViewLayer *, view_layer, &scene->view_layers) {