MAINT-5063 FIXED SLurl display text shows name of parcel in adjacent region when mousing over parcel after region crossing
parent
ca446ad0b7
commit
00f18efe75
|
|
@ -1594,8 +1594,14 @@ void LLViewerParcelMgr::processParcelProperties(LLMessageSystem *msg, void **use
|
|||
}
|
||||
else if (local_id == parcel_mgr.mAgentParcel->getLocalID())
|
||||
{
|
||||
// updated agent parcel
|
||||
parcel_mgr.mAgentParcel->unpackMessage(msg);
|
||||
// Parcels in different regions can have same ids.
|
||||
LLViewerRegion* parcel_region = LLWorld::getInstance()->getRegion( msg->getSender() );
|
||||
LLViewerRegion* agent_region = gAgent.getRegion();
|
||||
if (parcel_region && agent_region && parcel_region->getRegionID() == agent_region->getRegionID())
|
||||
{
|
||||
// updated agent parcel
|
||||
parcel_mgr.mAgentParcel->unpackMessage(msg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue