History

removed extraneous debug prints

elisa-lj11 committed 10 years ago

Commit 8bc9a921 parent 4c434e85 files · +3 −15Browse files

Showing the changes to libraries/script-engine/src/FileScriptingInterface.cpp (1 of 5 files). Show all

Unified · Split

libraries/script-engine/src/FileScriptingInterface.cpp+1−6
@@ -35,7 +35,6 @@ void FileScriptingInterface::runUnzip(QString path, QUrl url) { · 34 unmodified lines
3535 qDebug() << "Url that was downloaded: " + url.toString();
3636 qDebug() << "Path where download is saved: " + path;
3737 QString fileName = "/" + path.section("/", -1);
38− qDebug() << "Filename to remove from temp path: " + fileName;
3938 QString tempDir = path;
4039 tempDir.remove(fileName);
4140 qDebug() << "Temporary directory at: " + tempDir;
@@ -46,9 +45,8 @@ void FileScriptingInterface::runUnzip(QString path, QUrl url) { · 4 unmodified lines
4645
4746 QString file = unzipFile(path, tempDir);
4847 if (file != "") {
49− qDebug() << "file to upload: " + file;
48+ qDebug() << "Object file to upload: " + file;
5049 QUrl url = QUrl::fromLocalFile(file);
51− qDebug() << "url from local file: " + url.toString();
5250 emit unzipSuccess(url.toString());
5351 } else {
5452 qDebug() << "unzip failed";
@@ -73,7 +71,6 @@ bool FileScriptingInterface::isTempDir(QString tempDir) { · 18 unmodified lines
7371
7472 bool FileScriptingInterface::isZippedFbx(QUrl url) {
7573 if (url.toString().contains(".zip") && url.toString().contains("fbx")) return true;
76− qDebug() << "This model is not a .fbx packaged in a .zip. Please try with another model.";
7774 return false;
7875 }
7976
@@ -108,9 +105,7 @@ QString FileScriptingInterface::unzipFile(QString path, QString tempDir) { · 28 unmodified lines
108105
109106 QDir dir(path);
110107 QString dirName = dir.path();
111− qDebug() << "Zip directory is stored at: " + dirName;
112108 QString target = tempDir + "/model_repo";
113− qDebug() << "Target path: " + target;
114109 QStringList list = JlCompress::extractDir(dirName, target);
115110
116111 qDebug() << list;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t