Merge branch 'master' into future

This commit is contained in:
Siana Gearz
2011-07-20 22:12:14 +02:00
83 changed files with 1181 additions and 745 deletions

View File

@@ -2863,15 +2863,10 @@ class LLObjectExport : public view_listener_t
bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
{
LLViewerObject* object = LLSelectMgr::getInstance()->getSelection()->getPrimaryObject();
if (!object) return true;
LLVOAvatar* avatar = find_avatar_from_object(object);
if (!avatar)
if (object)
{
LLObjectBackup::getInstance()->exportObject();
}
return true;
}
};