mirror of
https://github.com/overte-org/overte.git
synced 2025-07-25 07:05:47 +02:00
Merge pull request #7718 from zzmp/fix/release-motion-states
Remove myAvatar motion states on shutdown
This commit is contained in:
commit
c35ddccba1
1 changed files with 1 additions and 4 deletions
|
@ -254,10 +254,7 @@ void AvatarManager::clearAllAvatars() {
|
||||||
|
|
||||||
QWriteLocker locker(&_hashLock);
|
QWriteLocker locker(&_hashLock);
|
||||||
|
|
||||||
_myAvatar->die();
|
handleRemovedAvatar(_myAvatar);
|
||||||
_myAvatar.reset();
|
|
||||||
|
|
||||||
_avatarHash.clear();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void AvatarManager::setLocalLights(const QVector<AvatarManager::LocalLight>& localLights) {
|
void AvatarManager::setLocalLights(const QVector<AvatarManager::LocalLight>& localLights) {
|
||||||
|
|
Loading…
Reference in a new issue