Skip to content
Snippets Groups Projects
Commit bd0bd119 authored by Vadim ProductEngine's avatar Vadim ProductEngine
Browse files

EXP-1594 FIXED Stop the upload progress indicator if inventory texture upoload fails.

parent 0a25d9b1
No related branches found
No related tags found
No related merge requests found
......@@ -295,6 +295,11 @@ void LLAssetUploadResponder::uploadFailure(const LLSD& content)
{
// remove the "Uploading..." message
LLUploadDialog::modalUploadFinished();
LLFloater* floater_snapshot = LLFloaterReg::findInstance("snapshot");
if (floater_snapshot)
{
floater_snapshot->notify(LLSD().with("set-finished", LLSD().with("ok", false).with("msg", "inventory")));
}
std::string reason = content["state"];
// deal with L$ errors
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment