diff options
author | Don Kjer <don@lindenlab.com> | 2007-06-29 01:49:41 +0000 |
---|---|---|
committer | Don Kjer <don@lindenlab.com> | 2007-06-29 01:49:41 +0000 |
commit | ad04e5fc55e4bec0958e24e8dc897373eff4001f (patch) | |
tree | 622c614f5c8281302d1840e5c8b16ae7bf7829ff /indra/newview/llstatusbar.cpp | |
parent | e3989d38486c4aaf4701d6239875ea4996d0963b (diff) |
revert: svn merge -r 64506:64505 svn+ssh://svn/svn/linden/release back into release
reverting jakes accidental check in
Diffstat (limited to 'indra/newview/llstatusbar.cpp')
-rw-r--r-- | indra/newview/llstatusbar.cpp | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/indra/newview/llstatusbar.cpp b/indra/newview/llstatusbar.cpp index 6990102d24..72aca1999e 100644 --- a/indra/newview/llstatusbar.cpp +++ b/indra/newview/llstatusbar.cpp @@ -403,10 +403,6 @@ void LLStatusBar::refresh() pos_y -= pos_y % 2; } - mRegionDetails.mTime = mTextTime->getText(); - mRegionDetails.mBalance = mBalance; - mRegionDetails.mAccesString = (char *)region->getSimAccessString(); - mRegionDetails.mPing = region->getNetDetailsForLCD(); if (parcel && parcel->getName()) { location_name = region->getName() @@ -414,43 +410,6 @@ void LLStatusBar::refresh() pos_x, pos_y, pos_z, region->getSimAccessString(), parcel->getName()); - - // keep these around for the LCD to use - mRegionDetails.mRegionName = region->getName(); - mRegionDetails.mParcelName = (char *)parcel->getName(); - mRegionDetails.mX = pos_x; - mRegionDetails.mY = pos_y; - mRegionDetails.mZ = pos_z; - mRegionDetails.mArea = parcel->getArea(); - mRegionDetails.mForSale = parcel->getForSale(); - mRegionDetails.mTraffic = gParcelMgr->getDwelling(); - - if (parcel->isPublic()) - { - snprintf(mRegionDetails.mOwner, MAX_STRING, "Public"); - } - else - { - if (parcel->getIsGroupOwned()) - { - if(!parcel->getGroupID().isNull()) - { - gCacheName->getGroupName(parcel->getGroupID(), mRegionDetails.mOwner); - } - else - { - snprintf(mRegionDetails.mOwner, MAX_STRING, "Group Owned"); - } - } - else - { - // Figure out the owner's name - char owner_first[MAX_STRING]; /*Flawfinder: ignore*/ - char owner_last[MAX_STRING]; /*Flawfinder: ignore*/ - gCacheName->getName(parcel->getOwnerID(), owner_first, owner_last); - snprintf(mRegionDetails.mOwner, MAX_STRING, "%s %s", owner_first, owner_last); /* Flawfinder: ignore */ - } - } } else { @@ -458,34 +417,12 @@ void LLStatusBar::refresh() + llformat(" %d, %d, %d (%s)", pos_x, pos_y, pos_z, region->getSimAccessString()); - // keep these around for the LCD to use - mRegionDetails.mRegionName = region->getName(); - mRegionDetails.mParcelName = "Unknown"; - - mRegionDetails.mX = pos_x; - mRegionDetails.mY = pos_y; - mRegionDetails.mZ = pos_z; - mRegionDetails.mArea = 0; - mRegionDetails.mForSale = FALSE; - snprintf(mRegionDetails.mOwner, MAX_STRING, "Unknown"); - mRegionDetails.mTraffic = 0.0f; } } else { // no region location_name = "(Unknown)"; - // keep these around for the LCD to use - mRegionDetails.mRegionName = LLString("Unknown"); - mRegionDetails.mParcelName = "Unknown"; - mRegionDetails.mAccesString = "Unknown"; - mRegionDetails.mX = 0; - mRegionDetails.mY = 0; - mRegionDetails.mZ = 0; - mRegionDetails.mArea = 0; - mRegionDetails.mForSale = FALSE; - snprintf(mRegionDetails.mOwner, MAX_STRING, "Unknown"); - mRegionDetails.mTraffic = 0.0f; } mTextParcelName->setText(location_name); |