summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui
diff options
context:
space:
mode:
authorPaul Guslisty <pguslisty@productengine.com>2010-04-13 08:44:34 +0300
committerPaul Guslisty <pguslisty@productengine.com>2010-04-13 08:44:34 +0300
commitaade7752202d321eb3cf6ed6a9e004ad200689b7 (patch)
treee9df5a469182ee8f57911cd15ba295bc304890f4 /indra/newview/skins/default/xui
parentb78053452fcab2d5cb864ef1fe1a95268a7ed31e (diff)
Fixed normal bug EXT-6624 ('Land for sale' icon isn't showed in Navigation bar after teleport from another land for sale with 'Moderate' rating)
- Reason: after teleport, Agent's content rate compares with just teleported Region's content rate, to check whether Agent can buy a Parcel in this Region. But it compares with old Region ones. Because In method 'LLViewerParcelMgr::canAgentBuyParcel' the call of 'LLViewerParcelMgr::getInstance()->getSelectionRegion()' returns last selected parcel. So after teleport this method call will always return old Region. Solution: In 'LLViewerParcelMgr::canAgentBuyParcel' determine current Parcel Agent is in, then determine Region using Agent's Parcel information and use actual Region. Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/222/ --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/skins/default/xui')
0 files changed, 0 insertions, 0 deletions