SL-19816 Home location on world map for invalid locations

meow-7.2.2
Alexander Gavriliuk 2023-06-30 14:01:30 +02:00 committed by Guru
parent 5a70639b79
commit 3f34acaa18
1 changed files with 0 additions and 6 deletions

View File

@ -2534,12 +2534,6 @@ void LLAgent::setStartPosition( U32 location_id )
if (!requestPostCapability("HomeLocation", body,
boost::bind(&LLAgent::setStartPositionSuccess, this, _1)))
LL_WARNS() << "Unable to post to HomeLocation capability." << LL_ENDL;
const U32 HOME_INDEX = 1;
if( HOME_INDEX == location_id )
{
setHomePosRegion( mRegionp->getHandle(), getPositionAgent() );
}
}
void LLAgent::setStartPositionSuccess(const LLSD &result)