mirror of
https://github.com/FirestormViewer/phoenix-firestorm.git
synced 2026-08-14 08:53:53 +00:00
Small tweaks to worldmap floater
This commit is contained in:
@@ -632,10 +632,7 @@ void LLFloaterWorldMap::reshape( S32 width, S32 height, bool called_from_parent
|
||||
void LLFloaterWorldMap::draw()
|
||||
{
|
||||
// <FS:Ansariel> Performance improvement
|
||||
static LLView* show_destination_btn = getChildView("Show Destination");
|
||||
static LLUICtrl* zoom_slider = getChild<LLUICtrl>("zoom slider");
|
||||
static LLButton* track_region_btn = getChild<LLButton>("track_region");
|
||||
// </FS:Ansariel> Performance improvement
|
||||
|
||||
static LLUIColor map_track_color = LLUIColorTable::instance().getColor("MapTrackColor", LLColor4::white);
|
||||
static LLUIColor map_track_disabled_color = LLUIColorTable::instance().getColor("MapTrackDisabledColor", LLColor4::white);
|
||||
@@ -1039,7 +1036,7 @@ void LLFloaterWorldMap::updateLocation()
|
||||
mSetToUserPosition = false;
|
||||
|
||||
// Fill out the location field
|
||||
getChild<LLUICtrl>("location")->setValue(RlvStrings::getString(RlvStringKeys::Hidden::Region));
|
||||
mLocationEditor->setValue(RlvStrings::getString(RlvStringKeys::Hidden::Region));
|
||||
|
||||
// update the coordinate display with location of avatar in region
|
||||
updateTeleportCoordsDisplay( agentPos );
|
||||
@@ -1113,8 +1110,7 @@ void LLFloaterWorldMap::updateLocation()
|
||||
if (gRlvHandler.hasBehaviour(RLV_BHVR_SHOWLOC))
|
||||
{
|
||||
mSLURL = LLSLURL();
|
||||
|
||||
childSetValue("location", RlvStrings::getString(RlvStringKeys::Hidden::Region));
|
||||
mLocationEditor->setValue(RlvStrings::getString(RlvStringKeys::Hidden::Region));
|
||||
}
|
||||
// <FS:Beq pp Oren> FORE-30768 Slurls in Var regions are b0rked
|
||||
// else if (gotSimName)
|
||||
@@ -1140,7 +1136,7 @@ void LLFloaterWorldMap::updateLocation()
|
||||
/*
|
||||
if (gRlvHandler.hasBehaviour(RLV_BHVR_SHOWLOC))
|
||||
{
|
||||
childSetValue("location", RlvStrings::getString(RLV_STRING_HIDDEN_REGION));
|
||||
mLocationEditor->setValue(RlvStrings::getString(RlvStringKeys::Hidden::Region));
|
||||
mSLURL.clear();
|
||||
}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user