History

added const to valid inputs

Elisa Lupin-Jimenez committed 8 years ago

Commit 14935e51 parent 1b6c85e1 file · +2 −2Browse files

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

Unified · Split

interface/src/scripting/GooglePolyScriptingInterface.cpp+2−2
@@ -28,8 +28,8 @@ · 27 unmodified lines
2828 const QString listPolyUrl = "https://poly.googleapis.com/v1/assets?";
2929 const QString getPolyUrl = "https://poly.googleapis.com/v1/assets/model?";
3030
31−QStringList validFormats = QStringList() << "BLOCKS" << "FBX" << "GLTF" << "GLTF2" << "OBJ" << "TILT" << "";
32−QStringList validCategories = QStringList() << "animals" << "architecture" << "art" << "food" <<
31+const QStringList validFormats = QStringList() << "BLOCKS" << "FBX" << "GLTF" << "GLTF2" << "OBJ" << "TILT" << "";
32+const QStringList validCategories = QStringList() << "animals" << "architecture" << "art" << "food" <<
3333 "nature" << "objects" << "people" << "scenes" << "technology" << "transport" << "";
3434
3535 GooglePolyScriptingInterface::GooglePolyScriptingInterface() {