mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 22:31:27 +02:00
Refactoring the mess for the Agent
This commit is contained in:
parent
065c148e0f
commit
8553033d59
3 changed files with 7 additions and 3 deletions
|
@ -28,6 +28,7 @@
|
|||
#include <EntityScriptingInterface.h> // TODO: consider moving to scriptengine.h
|
||||
|
||||
#include "avatars/ScriptableAvatar.h"
|
||||
#include "RecordingScriptingInterface.h"
|
||||
|
||||
#include "Agent.h"
|
||||
|
||||
|
@ -45,6 +46,7 @@ Agent::Agent(NLPacket& packet) :
|
|||
|
||||
DependencyManager::set<ResourceCacheSharedItems>();
|
||||
DependencyManager::set<SoundCache>();
|
||||
DependencyManager::set<RecordingScriptingInterface>();
|
||||
|
||||
auto& packetReceiver = DependencyManager::get<NodeList>()->getPacketReceiver();
|
||||
|
||||
|
|
|
@ -156,7 +156,7 @@ function sendCommand(id, action) {
|
|||
position: controlEntityPosition,
|
||||
dimensions: { x: controlEntitySize, y: controlEntitySize, z: controlEntitySize },
|
||||
visible: false,
|
||||
lifetime: 10,
|
||||
lifetime: 10000,
|
||||
userData: JSON.stringify({
|
||||
idKey: {
|
||||
uD_id: id
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
|
||||
#include "RecordingScriptingInterface.h"
|
||||
|
||||
#include <QThread>
|
||||
|
||||
#include <recording/Deck.h>
|
||||
#include <recording/Recorder.h>
|
||||
#include <recording/Clip.h>
|
||||
|
@ -16,8 +18,8 @@
|
|||
#include <AudioClient.h>
|
||||
#include <AudioConstants.h>
|
||||
|
||||
#include "avatar/AvatarManager.h"
|
||||
#include "Application.h"
|
||||
//#include "avatar/AvatarManager.h"
|
||||
//#include "Application.h"
|
||||
#include "InterfaceLogging.h"
|
||||
|
||||
typedef int16_t AudioSample;
|
||||
|
|
Loading…
Reference in a new issue