Fix missing object/collection hiding icons on undo.
This commit is contained in:
@@ -5573,8 +5573,6 @@ static void direct_link_layer_collections(FileData *fd, ListBase *lb, bool maste
|
||||
lc->collection = newdataadr(fd, lc->collection);
|
||||
}
|
||||
|
||||
lc->runtime_flag = 0;
|
||||
|
||||
direct_link_layer_collections(fd, &lc->layer_collections, false);
|
||||
}
|
||||
}
|
||||
@@ -5597,7 +5595,6 @@ static void direct_link_view_layer(FileData *fd, ViewLayer *view_layer)
|
||||
BLI_listbase_clear(&view_layer->drawdata);
|
||||
view_layer->object_bases_array = NULL;
|
||||
view_layer->object_bases_hash = NULL;
|
||||
view_layer->runtime_flag = 0;
|
||||
}
|
||||
|
||||
static void lib_link_layer_collection(FileData *fd, Library *lib, LayerCollection *layer_collection, bool master)
|
||||
|
||||
Reference in New Issue
Block a user