Because the avatar location is 0,0,0 rather than the end target.
Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -540,8 +540,6 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer) : · 539 unmodified lines | |||
| 540 | connect(&domainHandler, SIGNAL(disconnectedFromDomain()), SLOT(updateWindowTitle())); | 540 | connect(&domainHandler, SIGNAL(disconnectedFromDomain()), SLOT(updateWindowTitle())); |
| 541 | connect(&domainHandler, SIGNAL(disconnectedFromDomain()), SLOT(clearDomainOctreeDetails())); | 541 | connect(&domainHandler, SIGNAL(disconnectedFromDomain()), SLOT(clearDomainOctreeDetails())); |
| 542 | connect(&domainHandler, &DomainHandler::settingsReceived, this, &Application::domainSettingsReceived); | 542 | connect(&domainHandler, &DomainHandler::settingsReceived, this, &Application::domainSettingsReceived); |
| 543 | connect(&domainHandler, &DomainHandler::hostnameChanged, | ||
| 544 | DependencyManager::get<AddressManager>().data(), &AddressManager::storeCurrentAddress); | ||
| 545 | 543 | ||
| 546 | // update our location every 5 seconds in the metaverse server, assuming that we are authenticated with one | 544 | // update our location every 5 seconds in the metaverse server, assuming that we are authenticated with one |
| 547 | const qint64 DATA_SERVER_LOCATION_CHANGE_UPDATE_MSECS = 5 * 1000; | 545 | const qint64 DATA_SERVER_LOCATION_CHANGE_UPDATE_MSECS = 5 * 1000; |