History

ask for a mesh if username is present on login or is changed

Stephen Birarda committed 13 years ago

Commit b33843f1 parent e9e77d83 files · +19 −3Browse files

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

Unified · Split

interface/src/Application.cpp+6−0
@@ -58,6 +58,7 @@ · 57 unmodified lines
5858 #include <VoxelSceneStats.h>
5959
6060 #include "Application.h"
61+#include "DataServerClient.h"
6162 #include "LogDisplay.h"
6263 #include "Menu.h"
6364 #include "Swatch.h"
@@ -1585,6 +1586,11 @@ void Application::init() { · 1521 unmodified lines
15851586 _audio.setJitterBufferSamples(Menu::getInstance()->getAudioJitterBufferSamples());
15861587 }
15871588 qDebug("Loaded settings.\n");
1589+
1590+ if (!_myAvatar.getUsername().isEmpty()) {
1591+ // we have a username for this avatar, ask the data-server for the mesh URL for this avatar
1592+ DataServerClient::getClientValueForKey(DataServerKey::FaceMeshURL);
1593+ }
15881594
15891595 // Set up VoxelSystem after loading preferences so we can get the desired max voxel count
15901596 _voxels.setMaxVoxels(Menu::getInstance()->getMaxVoxels());

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t