Showing the changes to interface/src/scripting/GooglePolyScriptingInterface.cpp (1 of 24 files). Show all
Unified · Split
| @@ -29,7 +29,7 @@ const QString LIST_POLY_URL = "https://poly.googleapis.com/v1/assets?"; · 28 unmodified lines | ||
| 29 | 29 | const QString GET_POLY_URL = "https://poly.googleapis.com/v1/assets/model?"; |
| 30 | 30 | |
| 31 | 31 | const QStringList VALID_FORMATS = QStringList() << "BLOCKS" << "FBX" << "GLTF" << "GLTF2" << "OBJ" << "TILT" << ""; |
| 32 | −const QStringList VALID_CATEGORIES = QStringList() << "animals" << "architecture" << "art" << "food" << | |
| 32 | +const QStringList VALID_CATEGORIES = QStringList() << "animals" << "architecture" << "art" << "food" << | |
| 33 | 33 | "nature" << "objects" << "people" << "scenes" << "technology" << "transport" << ""; |
| 34 | 34 | |
| 35 | 35 | GooglePolyScriptingInterface::GooglePolyScriptingInterface() { |
| @@ -75,7 +75,7 @@ QString GooglePolyScriptingInterface::getGLTF2(const QString& keyword, const QSt · 39 unmodified lines | ||
| 75 | 75 | QUrl url = formatURLQuery(keyword, category, "GLTF2"); |
| 76 | 76 | return getModelURL(url); |
| 77 | 77 | } |
| 78 | − | |
| 78 | + | |
| 79 | 79 | // This method will not be useful until we support Tilt models |
| 80 | 80 | QString GooglePolyScriptingInterface::getTilt(const QString& keyword, const QString& category) { |
| 81 | 81 | QUrl url = formatURLQuery(keyword, category, "TILT"); |