History

resolved merge conflict again

Elisa Lupin-Jimenez committed 8 years ago

Commit 264f3622 parents e49181c 50ecb352 files · +3 −8Browse files

Showing the changes to interface/src/scripting/GooglePolyScriptingInterface.cpp (1 of 2 files). Show all

Unified · Split

interface/src/scripting/GooglePolyScriptingInterface.cpp+3−7
@@ -29,7 +29,7 @@ · 28 unmodified lines
2929 QString listPolyUrl = "https://poly.googleapis.com/v1/assets?";
3030 QString getPolyUrl = "https://poly.googleapis.com/v1/assets/model?";
3131
32−//authCode = "broke";
32+QString authCode = "broke";
3333
3434 QStringList validFormats = QStringList() << "BLOCKS" << "FBX" << "GLTF" << "GLTF2" << "OBJ" << "TILT" << "";
3535 QStringList validCategories = QStringList() << "animals" << "architecture" << "art" << "food" <<
@@ -112,7 +112,6 @@ QByteArray GooglePolyScriptingInterface::getHTTPRequest(QUrl url) { · 76 unmodified lines
112112 event.exec();
113113
114114 return response->readAll();
115−
116115 }
117116
118117 // since the list is a QJsonArray and a single model is a QJsonObject
@@ -148,10 +147,6 @@ QVariant GooglePolyScriptingInterface::parseJSON(QByteArray* response, int fileT · 29 unmodified lines
148147 }
149148
150149
151−
152−
153−
154−
155150 /*void GooglePolyScriptingInterface::getAssetList() {
156151 authCode = "AIzaSyDamk7Vth52j7aU9JVKn3ungFS0kGJYc8A";
157152 QUrl url(listPolyUrl + "key=" + authCode);
@@ -269,4 +264,5 @@ or this :(( http://blog.mathieu-leplatre.info/access-a-json-webservice-with-qt-c · 111 unmodified lines
269264 qCDebug(scriptengine) << "first item: " << firstItem;
270265 }
271266
272−*/
267+<<<<<<< HEAD
268+*/