call EntityTree update when ScriptEngine update occurs

This commit is contained in:
Stephen Birarda 2017-02-16 15:08:42 -08:00
parent d4119d5676
commit 9f9fc03751

View file

@ -419,6 +419,7 @@ void EntityScriptServer::resetEntitiesScriptEngine() {
connect(newEngine.data(), &ScriptEngine::update, this, [this] {
_entityViewer.queryOctree();
_entityViewer.getTree()->update();
});