The primary use case for open_from_sources is for creator functions to
open raw files. This change makes it easier to gracefully skip a non-
existent file and carry on with other ways of loading the item.
if(IO::Seekable *io = (*i)->open(name))
return io;
if(IO::Seekable *io = (*i)->open(name))
return io;
- throw IO::file_not_found(name);
}
void Collection::gather_names_from_sources(list<string> &names, const CollectionItemTypeBase &type) const
}
void Collection::gather_names_from_sources(list<string> &names, const CollectionItemTypeBase &type) const