From fb6287503edbf70e7f443ee6da9a4832b93c3ff5 Mon Sep 17 00:00:00 2001 From: Elisa Lupin-Jimenez Date: Mon, 20 Nov 2017 15:12:11 -0800 Subject: [PATCH] hopefully fixed build error resulting from escape sequence --- interface/src/Application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 41353208f7..a7b0c4af3e 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -6336,7 +6336,7 @@ void Application::addAssetToWorld(QString path, QString zipFile, bool isZip, boo QString mapping; QString filename = filenameFromPath(path); 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); mapping = "/" + assetName + "/" + assetFolder; } else {