Showing the changes to interface/src/Application.cpp (1 of 3 files). Show all
Unified · Split
| @@ -58,6 +58,7 @@ · 57 unmodified lines | |||
| 58 | #include <VoxelSceneStats.h> | 58 | #include <VoxelSceneStats.h> |
| 59 | 59 | ||
| 60 | #include "Application.h" | 60 | #include "Application.h" |
| 61 | #include "DataServerClient.h" | ||
| 61 | #include "LogDisplay.h" | 62 | #include "LogDisplay.h" |
| 62 | #include "Menu.h" | 63 | #include "Menu.h" |
| 63 | #include "Swatch.h" | 64 | #include "Swatch.h" |
| @@ -1585,6 +1586,11 @@ void Application::init() { · 1521 unmodified lines | |||
| 1585 | _audio.setJitterBufferSamples(Menu::getInstance()->getAudioJitterBufferSamples()); | 1586 | _audio.setJitterBufferSamples(Menu::getInstance()->getAudioJitterBufferSamples()); |
| 1586 | } | 1587 | } |
| 1587 | qDebug("Loaded settings.\n"); | 1588 | 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 | } | ||
| 1588 | 1594 | ||
| 1589 | // Set up VoxelSystem after loading preferences so we can get the desired max voxel count | 1595 | // Set up VoxelSystem after loading preferences so we can get the desired max voxel count |
| 1590 | _voxels.setMaxVoxels(Menu::getInstance()->getMaxVoxels()); | 1596 | _voxels.setMaxVoxels(Menu::getInstance()->getMaxVoxels()); |