From 14935e5924c38f71a3185be79bd2ddb9ff793980 Mon Sep 17 00:00:00 2001 From: Elisa Lupin-Jimenez Date: Tue, 19 Dec 2017 15:11:24 -0800 Subject: [PATCH] added const to valid inputs --- interface/src/scripting/GooglePolyScriptingInterface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/src/scripting/GooglePolyScriptingInterface.cpp b/interface/src/scripting/GooglePolyScriptingInterface.cpp index 6f4735f4b1..c9699a2a68 100644 --- a/interface/src/scripting/GooglePolyScriptingInterface.cpp +++ b/interface/src/scripting/GooglePolyScriptingInterface.cpp @@ -28,8 +28,8 @@ const QString listPolyUrl = "https://poly.googleapis.com/v1/assets?"; const QString getPolyUrl = "https://poly.googleapis.com/v1/assets/model?"; -QStringList validFormats = QStringList() << "BLOCKS" << "FBX" << "GLTF" << "GLTF2" << "OBJ" << "TILT" << ""; -QStringList validCategories = QStringList() << "animals" << "architecture" << "art" << "food" << +const QStringList validFormats = QStringList() << "BLOCKS" << "FBX" << "GLTF" << "GLTF2" << "OBJ" << "TILT" << ""; +const QStringList validCategories = QStringList() << "animals" << "architecture" << "art" << "food" << "nature" << "objects" << "people" << "scenes" << "technology" << "transport" << ""; GooglePolyScriptingInterface::GooglePolyScriptingInterface() {