mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
Move entities resources into /entities
This commit is contained in:
parent
c417bc0fb3
commit
4afb6992c3
1 changed files with 1 additions and 1 deletions
|
@ -1147,7 +1147,7 @@ void OctreeServer::domainSettingsRequestComplete() {
|
|||
// If there is, let's copy it over to our target persist directory
|
||||
QString oldResourcesDirectory = QCoreApplication::applicationDirPath();
|
||||
auto oldPersistPath = QDir(oldResourcesDirectory).absoluteFilePath(_persistFilename);
|
||||
auto persistPath = ServerPathUtils::getDataFilePath(_persistFilename);
|
||||
auto persistPath = ServerPathUtils::getDataFilePath("entities/" + QString(_persistFilename));
|
||||
if (oldPersistPath != persistPath && !QFile::exists(persistPath)) {
|
||||
qDebug() << "Persist file does not exist, checking for existence of persist file next to application";
|
||||
if (QFile::exists(oldPersistPath)) {
|
||||
|
|
Loading…
Reference in a new issue