diff options
| author | AndreyL ProductEngine <alihatskiy@productengine.com> | 2019-11-27 22:58:52 +0200 | 
|---|---|---|
| committer | AndreyL ProductEngine <alihatskiy@productengine.com> | 2019-11-27 22:58:52 +0200 | 
| commit | bc496f5f17a446af27b47cbe227e7e85089bab8d (patch) | |
| tree | b7c90fee48d1f48e21c5f62fe84abaca16f8bb81 /indra/newview/llviewermenu.cpp | |
| parent | 91c311dd7beb8d723a00efac8e61019eeb8af17b (diff) | |
| parent | f89c9e9b20a13acd8f6af76699259cab4c74d5db (diff) | |
Downstream merge from lindenlab/viewer-lynx
Diffstat (limited to 'indra/newview/llviewermenu.cpp')
| -rw-r--r-- | indra/newview/llviewermenu.cpp | 11 | 
1 files changed, 5 insertions, 6 deletions
| diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp index 8ef37b9143..f859ced342 100644 --- a/indra/newview/llviewermenu.cpp +++ b/indra/newview/llviewermenu.cpp @@ -6275,7 +6275,7 @@ void dump_inventory(void*)  void handle_dump_followcam(void*)  { -	LLFollowCamMgr::dump(); +	LLFollowCamMgr::getInstance()->dump();  }  void handle_viewer_enable_message_log(void*) @@ -6837,7 +6837,7 @@ class LLAttachmentDetachFromPoint : public view_listener_t  				 iter != attachment->mAttachedObjects.end();  				 iter++)  			{ -				LLViewerObject *attached_object = (*iter); +				LLViewerObject *attached_object = iter->get();  				ids_to_remove.push_back(attached_object->getAttachmentItemID());  			}          } @@ -6863,7 +6863,7 @@ static bool onEnableAttachmentLabel(LLUICtrl* ctrl, const LLSD& data)  				 attachment_iter != attachment->mAttachedObjects.end();  				 ++attachment_iter)  			{ -				const LLViewerObject* attached_object = (*attachment_iter); +				const LLViewerObject* attached_object = attachment_iter->get();  				if (attached_object)  				{  					LLViewerInventoryItem* itemp = gInventory.getItem(attached_object->getAttachmentItemID()); @@ -6976,7 +6976,7 @@ class LLAttachmentEnableDrop : public view_listener_t  				{  					// make sure item is in your inventory (it could be a delayed attach message being sent from the sim)  					// so check to see if the item is in the inventory already -					item = gInventory.getItem((*attachment_iter)->getAttachmentItemID()); +					item = gInventory.getItem(attachment_iter->get()->getAttachmentItemID());  					if (!item)  					{  						// Item does not exist, make an observer to enable the pie menu  @@ -7358,7 +7358,7 @@ void handle_dump_attachments(void*)  			 attachment_iter != attachment->mAttachedObjects.end();  			 ++attachment_iter)  		{ -			LLViewerObject *attached_object = (*attachment_iter); +			LLViewerObject *attached_object = attachment_iter->get();  			BOOL visible = (attached_object != NULL &&  							attached_object->mDrawable.notNull() &&   							!attached_object->mDrawable->isRenderType(0)); @@ -8653,7 +8653,6 @@ class LLWorldPostProcess : public view_listener_t  void handle_flush_name_caches()  { -	SUBSYSTEM_CLEANUP(LLAvatarNameCache);  	if (gCacheName) gCacheName->clear();  } | 
