mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 18:36:45 +02:00
hopefully fixed build error resulting from escape sequence
This commit is contained in:
parent
ecd45534dd
commit
fb6287503e
1 changed files with 1 additions and 1 deletions
|
@ -6336,7 +6336,7 @@ void Application::addAssetToWorld(QString path, QString zipFile, bool isZip, boo
|
||||||
QString mapping;
|
QString mapping;
|
||||||
QString filename = filenameFromPath(path);
|
QString filename = filenameFromPath(path);
|
||||||
if (isZip || isBlocks) {
|
if (isZip || isBlocks) {
|
||||||
QString assetName = zipFile.section("/", -1).remove(QRegExp("\.zip(.*)$"));
|
QString assetName = zipFile.section("/", -1).remove(QRegExp("[.]zip(.*)$"));
|
||||||
QString assetFolder = path.section("model_repo/", -1);
|
QString assetFolder = path.section("model_repo/", -1);
|
||||||
mapping = "/" + assetName + "/" + assetFolder;
|
mapping = "/" + assetName + "/" + assetFolder;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue