History

Wired up the send of the display data to the servers Added the renderDisplayName in Avatar

Jose Carlos committed 12 years ago

Commit 319d1f61 parent 665971c6 files · +135 −100Browse files

Showing the changes to interface/src/Menu.cpp (1 of 6 files). Show all

Unified · Split

interface/src/Menu.cpp+7−0
@@ -858,7 +858,14 @@ void Menu::editPreferences() { · 857 unmodified lines
858 applicationInstance->getAvatar()->setSkeletonModelURL(skeletonModelURL);858 applicationInstance->getAvatar()->setSkeletonModelURL(skeletonModelURL);
859 shouldDispatchIdentityPacket = true;859 shouldDispatchIdentityPacket = true;
860 }860 }
861
862 QString displayNameStr(displayNameEdit->text());
861 863
864 if (displayNameStr != displayNameString) {
865 applicationInstance->getAvatar()->setDisplayName(displayNameStr);
866 shouldDispatchIdentityPacket = true;
867 }
868
862 if (shouldDispatchIdentityPacket) {869 if (shouldDispatchIdentityPacket) {
863 applicationInstance->getAvatar()->sendIdentityPacket();870 applicationInstance->getAvatar()->sendIdentityPacket();
864 }871 }