History

reset avatar on domain change if the last domain imposed something on us

Howard Stearns committed 9 years ago

Commit 87f3ce71 parent 6271b8e1 file · +5 −0Browse files

Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all

Unified · Split

interface/src/Application.cpp+5−0
@@ -5292,6 +5292,11 @@ void Application::nodeActivated(SharedNodePointer node) { · 5291 unmodified lines
5292 5292
5293 if (node->getType() == NodeType::AvatarMixer) {5293 if (node->getType() == NodeType::AvatarMixer) {
5294 // new avatar mixer, send off our identity packet on next update loop5294 // new avatar mixer, send off our identity packet on next update loop
5295 // Reset skeletonModelUrl if the last server modified our choice.
5296 static const QUrl empty{};
5297 if (getMyAvatar()->getFullAvatarURLFromPreferences() != getMyAvatar()->cannonicalSkeletonModelURL(empty)) {
5298 getMyAvatar()->resetFullAvatarURL();
5299 }
5295 getMyAvatar()->markIdentityDataChanged();5300 getMyAvatar()->markIdentityDataChanged();
5296 getMyAvatar()->resetLastSent();5301 getMyAvatar()->resetLastSent();
5297 }5302 }