summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2017-01-17 14:47:00 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2017-01-17 14:47:00 +0200
commit078f5d3c2aab2d2b4ecb7747b58bb1853c193e3e (patch)
tree872251a00a5b78873777a972bdff476c65e107f2
parentc4476c78f189b3b729881a66c263a3a842de1d6d (diff)
MAINT-275 Allow showing Beacons floater in mouse look
-rw-r--r--indra/newview/app_settings/settings.xml1
-rw-r--r--indra/newview/llagent.cpp6
2 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml
index 8ddb421ac3..1b09e44644 100644
--- a/indra/newview/app_settings/settings.xml
+++ b/indra/newview/app_settings/settings.xml
@@ -14732,6 +14732,7 @@
<string>snapshot</string>
<string>postcard</string>
<string>mini_map</string>
+ <string>beacons</string>
</array>
</map>
<key>LandmarksSortedByDate</key>
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp
index cfb09d329b..7d0d39e22a 100644
--- a/indra/newview/llagent.cpp
+++ b/indra/newview/llagent.cpp
@@ -2050,7 +2050,10 @@ void LLAgent::endAnimationUpdateUI()
{
skip_list.insert(LLFloaterReg::findInstance("mini_map"));
}
-
+ if (LLFloaterReg::findInstance("beacons"))
+ {
+ skip_list.insert(LLFloaterReg::findInstance("beacons"));
+ }
LLFloaterIMContainer* im_box = LLFloaterReg::getTypedInstance<LLFloaterIMContainer>("im_container");
LLFloaterIMContainer::floater_list_t conversations;
im_box->getDetachedConversationFloaters(conversations);
@@ -2172,6 +2175,7 @@ void LLAgent::endAnimationUpdateUI()
#else // Use this for now
LLFloaterView::skip_list_t skip_list;
skip_list.insert(LLFloaterReg::findInstance("mini_map"));
+ skip_list.insert(LLFloaterReg::findInstance("beacons"));
gFloaterView->pushVisibleAll(FALSE, skip_list);
#endif