From be4022983b909d5be60cec512ea238283f71e739 Mon Sep 17 00:00:00 2001 From: David Rowe Date: Sat, 30 Jan 2016 12:25:56 +1300 Subject: [PATCH] Don't store avatar location immediately after a host change Because the avatar location is 0,0,0 rather than the end target. --- interface/src/Application.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 14e0ea2a6d..ef63021709 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -540,8 +540,6 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer) : connect(&domainHandler, SIGNAL(disconnectedFromDomain()), SLOT(updateWindowTitle())); connect(&domainHandler, SIGNAL(disconnectedFromDomain()), SLOT(clearDomainOctreeDetails())); connect(&domainHandler, &DomainHandler::settingsReceived, this, &Application::domainSettingsReceived); - connect(&domainHandler, &DomainHandler::hostnameChanged, - DependencyManager::get().data(), &AddressManager::storeCurrentAddress); // update our location every 5 seconds in the metaverse server, assuming that we are authenticated with one const qint64 DATA_SERVER_LOCATION_CHANGE_UPDATE_MSECS = 5 * 1000;