Showing the changes to interface/src/Application.cpp (1 of 7 files). Show all
Unified · Split
| @@ -1714,12 +1714,9 @@ bool Application::acceptSnapshot(const QString& urlString) { · 1713 unmodified lines | ||
| 1714 | 1714 | |
| 1715 | 1715 | SnapshotMetaData* snapshotData = Snapshot::parseSnapshotData(snapshotPath); |
| 1716 | 1716 | if (snapshotData) { |
| 1717 | − if (!snapshotData->getDomain().isEmpty()) { | |
| 1718 | − DependencyManager::get<NodeList>()->getDomainHandler().setHostnameAndPort(snapshotData->getDomain()); | |
| 1717 | + if (!snapshotData->getURL().toString().isEmpty()) { | |
| 1718 | + DependencyManager::get<AddressManager>()->handleLookupString(snapshotData->getURL().toString()); | |
| 1719 | 1719 | } |
| 1720 | − | |
| 1721 | − _myAvatar->setPosition(snapshotData->getLocation()); | |
| 1722 | − _myAvatar->setOrientation(snapshotData->getOrientation()); | |
| 1723 | 1720 | } else { |
| 1724 | 1721 | QMessageBox msgBox; |
| 1725 | 1722 | msgBox.setText("No location details were found in the file " |