Trivial changes to better sync with viewer 3

This commit is contained in:
Drake Arconis
2013-08-25 14:14:51 -04:00
parent cdeea281cd
commit fdc855cd37
19 changed files with 44 additions and 44 deletions

View File

@@ -2613,7 +2613,7 @@ class LLObjectCopyUUID : public view_listener_t
LLViewerObject* object = LLSelectMgr::getInstance()->getSelection()->getPrimaryObject();
if(object)
{
gViewerWindow->mWindow->copyTextToClipboard(utf8str_to_wstring(object->getID().asString()));
gViewerWindow->getWindow()->copyTextToClipboard(utf8str_to_wstring(object->getID().asString()));
}
return true;
}
@@ -3261,7 +3261,7 @@ class LLAvatarCopyUUID : public view_listener_t
LLVOAvatar* avatar = find_avatar_from_object( LLSelectMgr::getInstance()->getSelection()->getPrimaryObject() );
if(!avatar) return true;
gViewerWindow->mWindow->copyTextToClipboard(utf8str_to_wstring(avatar->getID().asString()));
gViewerWindow->getWindow()->copyTextToClipboard(utf8str_to_wstring(avatar->getID().asString()));
return true;
}
};
@@ -3273,7 +3273,7 @@ class LLAvatarClientUUID : public view_listener_t
LLVOAvatar* avatar = find_avatar_from_object( LLSelectMgr::getInstance()->getSelection()->getPrimaryObject() );
if(!avatar) return true;
const LLUUID clientID = SHClientTagMgr::instance().getClientID(avatar);
gViewerWindow->mWindow->copyTextToClipboard(utf8str_to_wstring(clientID.asString()));
gViewerWindow->getWindow()->copyTextToClipboard(utf8str_to_wstring(clientID.asString()));
return true;
}
};