mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-10 01:36:26 +02:00
add missing include for ScriptAvatar in AvatarManager
This commit is contained in:
parent
84a5807ff1
commit
e7299a5435
1 changed files with 2 additions and 1 deletions
|
@ -24,6 +24,7 @@
|
||||||
|
|
||||||
#include "Avatar.h"
|
#include "Avatar.h"
|
||||||
#include "AvatarMotionState.h"
|
#include "AvatarMotionState.h"
|
||||||
|
#include "ScriptAvatar.h"
|
||||||
|
|
||||||
class MyAvatar;
|
class MyAvatar;
|
||||||
class AudioInjector;
|
class AudioInjector;
|
||||||
|
@ -43,7 +44,7 @@ public:
|
||||||
std::shared_ptr<MyAvatar> getMyAvatar() { return _myAvatar; }
|
std::shared_ptr<MyAvatar> getMyAvatar() { return _myAvatar; }
|
||||||
|
|
||||||
// Null/Default-constructed QUuids will return MyAvatar
|
// Null/Default-constructed QUuids will return MyAvatar
|
||||||
virtual ScriptAvatar* getAvatar(QUuid avatarID) override { return new ScriptAvatarData(getAvatarBySessionID(avatarID)); }
|
virtual ScriptAvatar* getAvatar(QUuid avatarID) override { return new ScriptAvatar(getAvatarBySessionID(avatarID)); }
|
||||||
|
|
||||||
AvatarSharedPointer getAvatarBySessionID(const QUuid& sessionID) const override;
|
AvatarSharedPointer getAvatarBySessionID(const QUuid& sessionID) const override;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue