mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 08:21:24 +02:00
Remove dirs from atp copy
This commit is contained in:
parent
c9ea6e7eb6
commit
99bb1fcbe1
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ void AssetServer::run() {
|
||||||
_resourcesDirectory = QDir(ServerPathUtils::getDataDirectory()).filePath(RESOURCES_PATH);
|
_resourcesDirectory = QDir(ServerPathUtils::getDataDirectory()).filePath(RESOURCES_PATH);
|
||||||
|
|
||||||
bool noExistingAssets = !_resourcesDirectory.exists() \
|
bool noExistingAssets = !_resourcesDirectory.exists() \
|
||||||
|| _resourcesDirectory.entryList(QDir::Dirs | QDir::NoDotAndDotDot | QDir::Files).size() == 0;
|
|| _resourcesDirectory.entryList(QDir::Files).size() == 0;
|
||||||
|
|
||||||
if (noExistingAssets) {
|
if (noExistingAssets) {
|
||||||
qDebug() << "Asset resources directory not found, searching for existing asset resources";
|
qDebug() << "Asset resources directory not found, searching for existing asset resources";
|
||||||
|
|
Loading…
Reference in a new issue