Showing the changes to assignment-client/src/scripts/EntityScriptServer.cpp (1 of 14 files). Show all
Unified · Split
| @@ -91,7 +91,8 @@ void EntityScriptServer::run() { · 90 unmodified lines | ||
| 91 | 91 | |
| 92 | 92 | // setup the JSON filter that asks for entities with a non-default serverScripts property |
| 93 | 93 | QJsonObject queryJSONParameters; |
| 94 | − queryJSONParameters["serverScripts"] = OctreeQuery::NON_DEFAULT_FILTER; | |
| 94 | + static const QString SERVER_SCRIPTS_PROPERTY = "serverScripts"; | |
| 95 | + queryJSONParameters[SERVER_SCRIPTS_PROPERTY] = EntityQueryFilterSymbol::NonDefault; | |
| 95 | 96 | |
| 96 | 97 | // setup the JSON parameters so that OctreeQuery does not use a frustum and uses our JSON filter |
| 97 | 98 | _entityViewer.getOctreeQuery().setUsesFrustum(false); |