Showing the changes to assignment-client/src/scripts/EntityScriptServer.cpp (1 of 2 files). Show all
Unified · Split
| @@ -94,8 +94,8 @@ void EntityScriptServer::run() { · 93 unmodified lines | ||
| 94 | 94 | queryJSONParameters["serverScripts"] = OctreeQuery::NON_DEFAULT_FILTER; |
| 95 | 95 | |
| 96 | 96 | // setup the JSON parameters so that OctreeQuery does not use a frustum and uses our JSON filter |
| 97 | − _entityViewer.setQueryUsesFrustum(false); | |
| 98 | − _entityViewer.setQueryJSONParameters(queryJSONParameters); | |
| 97 | + _entityViewer.getOctreeQuery().setUsesFrustum(false); | |
| 98 | + _entityViewer.getOctreeQuery().setJSONParameters(queryJSONParameters); | |
| 99 | 99 | |
| 100 | 100 | entityScriptingInterface->setEntityTree(_entityViewer.getTree()); |
| 101 | 101 | |