MAINT-2617 No notification is displayed when saving appearance to XML

meow-7.2.2
Mnikolenko ProductEngine 2016-02-11 13:41:00 +02:00
parent 1a0c8c20e7
commit 7d0a285958
2 changed files with 17 additions and 0 deletions

View File

@ -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
}

View File

@ -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"