Possible crash fix in LLPanelPlaceInfo::displayParcelInfo

Thu, 28 Apr 2016 11:32:39 +0200

author
Ansariel
date
Thu, 28 Apr 2016 11:32:39 +0200
changeset 48980
8040d819e5e7
parent 48979
d8cfb7ee122d
child 48981
65ec03effdaf

Possible crash fix in LLPanelPlaceInfo::displayParcelInfo

indra/newview/fsfloaterplacedetails.cpp file | annotate | diff | revisions
     1.1 --- a/indra/newview/fsfloaterplacedetails.cpp	Wed Apr 27 01:00:27 2016 +0200
     1.2 +++ b/indra/newview/fsfloaterplacedetails.cpp	Thu Apr 28 11:32:39 2016 +0200
     1.3 @@ -846,6 +846,11 @@
     1.4  
     1.5  void FSFloaterPlaceDetails::onLandmarkLoaded(LLLandmark* landmark)
     1.6  {
     1.7 +	if (!mPanelLandmarkInfo)
     1.8 +	{
     1.9 +		return;
    1.10 +	}
    1.11 +
    1.12  	LLUUID region_id;
    1.13  	landmark->getRegionID(region_id);
    1.14  	landmark->getGlobalPos(mGlobalPos);

mercurial