diff options
author | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2016-02-11 13:41:00 +0200 |
---|---|---|
committer | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2016-02-11 13:41:00 +0200 |
commit | 7d0a285958edb5ed500e9921806eae039d0276ea (patch) | |
tree | f51af386a77ea6457486d6d5848e2f365b406328 | |
parent | 1a0c8c20e73e8ad157ba7a576c1afd7da22ebf9f (diff) |
MAINT-2617 No notification is displayed when saving appearance to XML
-rwxr-xr-x | indra/newview/llvoavatar.cpp | 7 | ||||
-rwxr-xr-x | indra/newview/skins/default/xui/en/notifications.xml | 10 |
2 files changed, 17 insertions, 0 deletions
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. </notification> + + <notification icon="notify.tga" persist="true" + name="AppearanceToXMLSaved" type="notify"> +Appearance has been saved to XML to [PATH] + </notification> + + <notification icon="notifytip.tga" + name="AppearanceToXMLFailed" type="notifytip"> +Failed to save appearance to XML. + </notification> <notification icon="alertmodal.tga" |