diff options
| author | MaximB ProductEngine <mberezhnoy@productengine.com> | 2013-09-16 18:08:29 +0300 | 
|---|---|---|
| committer | MaximB ProductEngine <mberezhnoy@productengine.com> | 2013-09-16 18:08:29 +0300 | 
| commit | 433b90c44d4ea85d87a47c23aa1736b932b972c2 (patch) | |
| tree | aa9e6e15e98da99ba18e80413f52ad482affe03c /indra | |
| parent | e3963666fd54f5cb1b43bc70b77660079bad5ab5 (diff) | |
MAINT-3018 (Remove long distracting messages appearing in nearby chat)
Diffstat (limited to 'indra')
| -rwxr-xr-x | indra/newview/llviewermessage.cpp | 25 | 
1 files changed, 0 insertions, 25 deletions
| diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index 1e63977ceb..6bc480f0ed 100755 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -3822,19 +3822,6 @@ public:  				LLInventoryModel::EXCLUDE_TRASH,  				is_card);  		} -		LLSD args; -		if ( land_items.count() > 0 ) -		{	// Show notification that they can now teleport to landmarks.  Use a random landmark from the inventory -			S32 random_land = ll_rand( land_items.count() - 1 ); -			args["NAME"] = land_items[random_land]->getName(); -			LLNotificationsUtil::add("TeleportToLandmark",args); -		} -		if ( card_items.count() > 0 ) -		{	// Show notification that they can now contact people.  Use a random calling card from the inventory -			S32 random_card = ll_rand( card_items.count() - 1 ); -			args["NAME"] = card_items[random_card]->getName(); -			LLNotificationsUtil::add("TeleportToPerson",args); -		}  		gInventory.removeObserver(this);  		delete this; @@ -4111,18 +4098,6 @@ void process_agent_movement_complete(LLMessageSystem* msg, void**)  		if (isAgentAvatarValid())  		{ -			// Chat the "back" SLURL. (DEV-4907) - -			LLSLURL slurl; -			gAgent.getTeleportSourceSLURL(slurl); -			LLSD substitution = LLSD().with("[T_SLURL]", slurl.getSLURLString()); -			std::string completed_from = LLAgent::sTeleportProgressMessages["completed_from"]; -			LLStringUtil::format(completed_from, substitution); - -			LLSD args; -			args["MESSAGE"] = completed_from; -			LLNotificationsUtil::add("SystemMessageTip", args); -  			// Set the new position  			gAgentAvatarp->setPositionAgent(agent_pos);  			gAgentAvatarp->clearChat(); | 
