From 7d0a285958edb5ed500e9921806eae039d0276ea Mon Sep 17 00:00:00 2001 From: Mnikolenko ProductEngine Date: Thu, 11 Feb 2016 13:41:00 +0200 Subject: MAINT-2617 No notification is displayed when saving appearance to XML --- indra/newview/llvoavatar.cpp | 7 +++++++ indra/newview/skins/default/xui/en/notifications.xml | 10 ++++++++++ 2 files changed, 17 insertions(+) (limited to 'indra') diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index 6f7b23ba01..2a872bb1bd 100755 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -7964,6 +7964,13 @@ void LLVOAvatar::dumpArchetypeXML(const std::string& prefix, bool group_by_weara // show the cloned params inside the wearables as well. gAgentAvatarp->dumpWearableInfo(outfile); } + LLSD args; + args["PATH"] = fullpath; + LLNotificationsUtil::add("AppearanceToXMLSaved", args); + } + else + { + LLNotificationsUtil::add("AppearanceToXMLFailed"); } // File will close when handle goes out of scope } diff --git a/indra/newview/skins/default/xui/en/notifications.xml b/indra/newview/skins/default/xui/en/notifications.xml index 74e1eb527c..f1a6aca163 100755 --- a/indra/newview/skins/default/xui/en/notifications.xml +++ b/indra/newview/skins/default/xui/en/notifications.xml @@ -8274,6 +8274,16 @@ Are you sure you want to close all IMs? name="AttachmentSaved" type="notifytip"> Attachment has been saved. + + +Appearance has been saved to XML to [PATH] + + + +Failed to save appearance to XML. +