History

Include the face model URL in the same packet as the avatar voxel URL.

Andrzej Kapolka committed 13 years ago

Commit a04ced61 parent fff10379 files · +34 −28Browse files

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

Unified · Split

interface/src/Menu.cpp+2−1
@@ -786,11 +786,12 @@ void Menu::editPreferences() { · 785 unmodified lines
786786
787787 QUrl avatarVoxelURL(avatarURL->text());
788788 applicationInstance->getAvatar()->getVoxels()->setVoxelURL(avatarVoxelURL);
789− Avatar::sendAvatarVoxelURLMessage(avatarVoxelURL);
790789
791790 QUrl faceModelURL(faceURL->text());
792791 applicationInstance->getAvatar()->getHead().getBlendFace().setModelURL(faceModelURL);
793792
793+ Avatar::sendAvatarURLsMessage(avatarVoxelURL, faceModelURL);
794+
794795 _gyroCameraSensitivity = gyroCameraSensitivity->value();
795796
796797 applicationInstance->getAvatar()->setLeanScale(leanScale->value());