From 1ceec174052aa7295aa170738c74cb8a3bea34e0 Mon Sep 17 00:00:00 2001 From: Elisa Lupin-Jimenez Date: Tue, 7 Nov 2017 17:12:39 -0800 Subject: [PATCH] missed an fbx block --- interface/src/Application.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 1ca58311d4..4f051697ad 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -2702,7 +2702,6 @@ bool Application::importFromZIP(const QString& filePath) { } // thread-safe - void Application::onPresent(quint32 frameCount) { bool expected = false; if (_pendingIdleEvent.compare_exchange_strong(expected, true)) { @@ -6467,13 +6466,6 @@ void Application::addAssetToWorldAddEntity(QString filePath, QString mapping) { // Close progress message box. addAssetToWorldInfoDone(filenameFromPath(filePath)); } - - // Delete temporary directories created from downloads - if (filePath.contains(".fbx")) { - QString tempPath = filePath.remove(filePath.section("/", -1)); - qCDebug(interfaceapp) << "Removing temporary path: " << tempPath; - QDir(tempPath).removeRecursively(); - } } void Application::addAssetToWorldCheckModelSize() {