diff options
| -rw-r--r-- | indra/newview/llhints.cpp | 6 | 
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llhints.cpp b/indra/newview/llhints.cpp index 66799535c1..14a9871a7d 100644 --- a/indra/newview/llhints.cpp +++ b/indra/newview/llhints.cpp @@ -104,7 +104,7 @@ public:  	void onClickClose() { hide(); }  	void draw(); -	void hide() { mHidden = true; mFadeTimer.reset(); } +	void hide() { if(!mHidden) {mHidden = true; mFadeTimer.reset();} }  private:  	LLNotificationPtr	mNotification; @@ -169,6 +169,10 @@ void LLHintPopup::draw()  	if (mHidden)  	{  		alpha = clamp_rescale(mFadeTimer.getElapsedTimeF32(), 0.f, mFadeOutTime, 1.f, 0.f); +		if (alpha == 0.f) +		{ +			die(); +		}  	}  	else  	{  | 
