MAINT-8316 FIXED Crash in LLAgent::teleportRequest(..)

Wed, 21 Feb 2018 18:03:08 +0200

author
maxim_productengine<mnikolenko@productengine.com>
date
Wed, 21 Feb 2018 18:03:08 +0200
changeset 55298
cd208c426e6f
parent 55297
54187156dea3
child 55299
a53d172f77a0

MAINT-8316 FIXED Crash in LLAgent::teleportRequest(..)

indra/newview/llagent.cpp file | annotate | diff | revisions
     1.1 --- a/indra/newview/llagent.cpp	Wed Feb 21 16:01:40 2018 +0200
     1.2 +++ b/indra/newview/llagent.cpp	Wed Feb 21 18:03:08 2018 +0200
     1.3 @@ -3943,8 +3943,7 @@
     1.4  	bool look_at_from_camera)
     1.5  {
     1.6  	LLViewerRegion* regionp = getRegion();
     1.7 -	bool is_local = (region_handle == regionp->getHandle());
     1.8 -	if(regionp && teleportCore(is_local))
     1.9 +	if (regionp && teleportCore(region_handle == regionp->getHandle()))
    1.10  	{
    1.11  		LL_INFOS("") << "TeleportLocationRequest: '" << region_handle << "':"
    1.12  					 << pos_local << LL_ENDL;

mercurial