aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llagent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llagent.cpp')
-rw-r--r--linden/indra/newview/llagent.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/linden/indra/newview/llagent.cpp b/linden/indra/newview/llagent.cpp
index de1fc84..8109196 100644
--- a/linden/indra/newview/llagent.cpp
+++ b/linden/indra/newview/llagent.cpp
@@ -76,6 +76,7 @@
76#include "llfloaterdirectory.h" 76#include "llfloaterdirectory.h"
77#include "llfloatergroupinfo.h" 77#include "llfloatergroupinfo.h"
78#include "llfloatergroups.h" 78#include "llfloatergroups.h"
79#include "llfloaterland.h"
79#include "llfloatermap.h" 80#include "llfloatermap.h"
80#include "llfloatermute.h" 81#include "llfloatermute.h"
81#include "llfloatersnapshot.h" 82#include "llfloatersnapshot.h"
@@ -113,6 +114,7 @@
113#include "llurldispatcher.h" 114#include "llurldispatcher.h"
114#include "llviewercamera.h" 115#include "llviewercamera.h"
115#include "llviewerinventory.h" 116#include "llviewerinventory.h"
117#include "llviewermediafocus.h"
116#include "llviewermenu.h" 118#include "llviewermenu.h"
117#include "llviewernetwork.h" 119#include "llviewernetwork.h"
118#include "llviewerobjectlist.h" 120#include "llviewerobjectlist.h"
@@ -6098,7 +6100,11 @@ bool LLAgent::teleportCore(bool is_local)
6098 LLFloaterWorldMap::hide(NULL); 6100 LLFloaterWorldMap::hide(NULL);
6099 LLFloaterDirectory::hide(NULL); 6101 LLFloaterDirectory::hide(NULL);
6100 6102
6103 // hide land floater too - it'll be out of date
6104 LLFloaterLand::hideInstance();
6105
6101 LLViewerParcelMgr::getInstance()->deselectLand(); 6106 LLViewerParcelMgr::getInstance()->deselectLand();
6107 LLViewerMediaFocus::getInstance()->setFocusFace(false, NULL, 0, NULL);
6102 6108
6103 // Close all pie menus, deselect land, etc. 6109 // Close all pie menus, deselect land, etc.
6104 // Don't change the camera until we know teleport succeeded. JC 6110 // Don't change the camera until we know teleport succeeded. JC