fix location vs AddressManager woes

This commit is contained in:
Zach Fox 2017-03-16 12:56:54 -07:00
parent 05fec328c0
commit b3821bb02d
2 changed files with 1 additions and 2 deletions

View file

@ -27,7 +27,7 @@ Item {
// Properties
property string profileUrl: "";
property string defaultBaseUrl: location.metaverseServerUrl;
property string defaultBaseUrl: AddressManager.metaverseServerUrl;
property string connectionStatus : ""
property string uuid: ""
property string displayName: ""

View file

@ -2011,7 +2011,6 @@ void Application::initializeUi() {
rootContext->setContextProperty("Scene", DependencyManager::get<SceneScriptingInterface>().data());
rootContext->setContextProperty("Render", _renderEngine->getConfiguration().get());
rootContext->setContextProperty("Reticle", getApplicationCompositor().getReticleInterface());
rootContext->setContextProperty("location", DependencyManager::get<AddressManager>().data());
rootContext->setContextProperty("ApplicationCompositor", &getApplicationCompositor());