1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00

Merge branch 'these-are-the-datas-youre-looking-for' into 'master'

Add game-independent VFS directory to CS' VFS

See merge request OpenMW/openmw!3683
This commit is contained in:
psi29a 2023-12-26 10:21:58 +00:00
commit f80bbd4e39

View File

@ -200,6 +200,8 @@ std::pair<Files::PathContainer, std::vector<std::string>> CS::Editor::readConfig
dataDirs.insert(dataDirs.end(), dataLocal.begin(), dataLocal.end());
dataDirs.insert(dataDirs.begin(), mResources / "vfs");
// iterate the data directories and add them to the file dialog for loading
mFileDialog.addFiles(dataDirs);