History

provide direct access to OctreeQuery from OHV

Stephen Birarda committed 9 years ago

Commit f9f958a1 parent 6e6f2c52 files · +4 −6Browse files

Showing the changes to assignment-client/src/scripts/EntityScriptServer.cpp (1 of 2 files). Show all

Unified · Split

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