mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 21:35:04 +02:00
First pass - checking performance
This commit is contained in:
parent
bb3f9e9033
commit
d4752926b8
2 changed files with 1 additions and 4 deletions
|
@ -5258,9 +5258,8 @@ void Application::nodeActivated(SharedNodePointer node) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (node->getType() == NodeType::AvatarMixer) {
|
if (node->getType() == NodeType::AvatarMixer) {
|
||||||
// new avatar mixer, send off our identity packet right away
|
// new avatar mixer, send off our identity packet on next update loop
|
||||||
getMyAvatar()->markIdentityDataChanged();
|
getMyAvatar()->markIdentityDataChanged();
|
||||||
getMyAvatar()->sendIdentityPacket();
|
|
||||||
getMyAvatar()->resetLastSent();
|
getMyAvatar()->resetLastSent();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1588,8 +1588,6 @@ void AvatarData::setDisplayName(const QString& displayName) {
|
||||||
_displayName = displayName;
|
_displayName = displayName;
|
||||||
_sessionDisplayName = "";
|
_sessionDisplayName = "";
|
||||||
|
|
||||||
sendIdentityPacket();
|
|
||||||
|
|
||||||
qCDebug(avatars) << "Changing display name for avatar to" << displayName;
|
qCDebug(avatars) << "Changing display name for avatar to" << displayName;
|
||||||
markIdentityDataChanged();
|
markIdentityDataChanged();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue