Showing the changes to interface/src/Application.cpp (1 of 9 files). Show all
Unified · Split
| @@ -3913,6 +3913,11 @@ void Application::setMenuShortcutsEnabled(bool enabled) { · 3912 unmodified lines | |||
| 3913 | void Application::attachNewHeadToNode(Node* newNode) { | 3913 | void Application::attachNewHeadToNode(Node* newNode) { |
| 3914 | if (newNode->getLinkedData() == NULL) { | 3914 | if (newNode->getLinkedData() == NULL) { |
| 3915 | newNode->setLinkedData(new Avatar(newNode)); | 3915 | newNode->setLinkedData(new Avatar(newNode)); |
| 3916 | |||
| 3917 | // new UUID requires mesh and skeleton request to data-server | ||
| 3918 | DataServerClient::getValuesForKeysAndUUID(QStringList() << DataServerKey::FaceMeshURL << DataServerKey::SkeletonURL, | ||
| 3919 | newNode->getUUID(), Application::getInstance()->getProfile()); | ||
| 3920 | |||
| 3916 | } | 3921 | } |
| 3917 | } | 3922 | } |
| 3918 | 3923 | ||