mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 06:53:59 +02:00
Merge pull request #13749 from samcake/punk
Fix the other avatars not being removed when Avatar mixer reset
This commit is contained in:
commit
aac4ff0b7e
1 changed files with 0 additions and 3 deletions
|
@ -412,9 +412,6 @@ void AvatarManager::clearOtherAvatars() {
|
|||
while (avatarIterator != _avatarHash.end()) {
|
||||
auto avatar = std::static_pointer_cast<Avatar>(avatarIterator.value());
|
||||
if (avatar != _myAvatar) {
|
||||
if (avatar->isInScene()) {
|
||||
avatar->removeFromScene(avatar, scene, transaction);
|
||||
}
|
||||
handleRemovedAvatar(avatar);
|
||||
avatarIterator = _avatarHash.erase(avatarIterator);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue