mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 16:14:35 +02:00
add a leading slash for faked migrated mappings
This commit is contained in:
parent
d3dc81c7a0
commit
a986403237
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ void AssetServer::performMappingMigration() {
|
||||||
|
|
||||||
// add a new mapping with the old extension and a truncated version of the hash
|
// add a new mapping with the old extension and a truncated version of the hash
|
||||||
static const int TRUNCATED_HASH_NUM_CHAR = 16;
|
static const int TRUNCATED_HASH_NUM_CHAR = 16;
|
||||||
auto fakeFileName = hash.left(TRUNCATED_HASH_NUM_CHAR) + fullExtension;
|
auto fakeFileName = "/" + hash.left(TRUNCATED_HASH_NUM_CHAR) + fullExtension;
|
||||||
|
|
||||||
qDebug() << "\tAdding a migration mapping from" << fakeFileName << "to" << hash;
|
qDebug() << "\tAdding a migration mapping from" << fakeFileName << "to" << hash;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue