mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 02:44:36 +02:00
Merge pull request #10021 from huffman/fix/agent-animation-cache
Add AnimationCache to agent scripts
This commit is contained in:
commit
069ebaedf0
1 changed files with 1 additions and 0 deletions
|
@ -419,6 +419,7 @@ void Agent::executeScript() {
|
|||
_scriptEngine->registerGlobalObject("Agent", this);
|
||||
|
||||
_scriptEngine->registerGlobalObject("SoundCache", DependencyManager::get<SoundCache>().data());
|
||||
_scriptEngine->registerGlobalObject("AnimationCache", DependencyManager::get<AnimationCache>().data());
|
||||
|
||||
QScriptValue webSocketServerConstructorValue = _scriptEngine->newFunction(WebSocketServerClass::constructor);
|
||||
_scriptEngine->globalObject().setProperty("WebSocketServer", webSocketServerConstructorValue);
|
||||
|
|
Loading…
Reference in a new issue