History

call EntityTree update when ScriptEngine update occurs

Stephen Birarda committed 9 years ago

Commit 9f9fc031 parent d4119d51 file · +1 −0Browse files

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

Unified · Split

assignment-client/src/scripts/EntityScriptServer.cpp+1−0
@@ -419,6 +419,7 @@ void EntityScriptServer::resetEntitiesScriptEngine() { · 418 unmodified lines
419419
420420 connect(newEngine.data(), &ScriptEngine::update, this, [this] {
421421 _entityViewer.queryOctree();
422+ _entityViewer.getTree()->update();
422423 });
423424
424425