mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 09:37:14 +02:00
remove unused cruft
This commit is contained in:
parent
ac751029c0
commit
fd874429c1
1 changed files with 0 additions and 5 deletions
|
@ -333,11 +333,6 @@ void AvatarManager::handleRemovedAvatar(const AvatarSharedPointer& removedAvatar
|
||||||
// class in this context so we can call methods that don't exist at the base class.
|
// class in this context so we can call methods that don't exist at the base class.
|
||||||
auto avatar = std::static_pointer_cast<Avatar>(removedAvatar);
|
auto avatar = std::static_pointer_cast<Avatar>(removedAvatar);
|
||||||
|
|
||||||
// there is no way to request identity data from the avatar-mixer
|
|
||||||
// therefore whenever we remove an avatar we cache the identity in case we need it later
|
|
||||||
AvatarData::Identity identity;
|
|
||||||
avatar->getIdentity(identity);
|
|
||||||
|
|
||||||
AvatarMotionState* motionState = avatar->getMotionState();
|
AvatarMotionState* motionState = avatar->getMotionState();
|
||||||
if (motionState) {
|
if (motionState) {
|
||||||
_motionStatesThatMightUpdate.remove(motionState);
|
_motionStatesThatMightUpdate.remove(motionState);
|
||||||
|
|
Loading…
Reference in a new issue