add a leading slash for faked migrated mappings

This commit is contained in:
Stephen Birarda 2016-03-09 13:42:35 -08:00
parent d3dc81c7a0
commit a986403237

View file

@ -155,7 +155,7 @@ void AssetServer::performMappingMigration() {
// add a new mapping with the old extension and a truncated version of the hash
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;