remvoe commented out cruft

This commit is contained in:
Andrew Meadows 2017-04-06 12:59:39 -07:00
parent 1fb88a0315
commit 8773497f7e

View file

@ -396,9 +396,6 @@ void AvatarManager::clearOtherAvatars() {
while (avatarIterator != _avatarHash.end()) {
auto avatar = std::static_pointer_cast<Avatar>(avatarIterator.value());
if (avatar != _myAvatar) {
//auto removedAvatar = avatarIterator.value();
//avatarIterator = _avatarHash.erase(avatarIterator);
//handleRemovedAvatar(removedAvatar);
if (avatar->isInScene()) {
avatar->removeFromScene(avatar, scene, pendingChanges);
}