Skip to content
Snippets Groups Projects
Commit aade7752 authored by Paul Guslisty's avatar Paul Guslisty
Browse files

Fixed normal bug EXT-6624 ('Land for sale' icon isn't showed in Navigation bar...

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
parent b7805345
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment