MAINT-6320 Snapshot floater is stuck in 'Saving to Inventory' state.
parent
8c973c812b
commit
f5c21ce1ae
|
|
@ -837,5 +837,12 @@ void LLViewerAssetUpload::HandleUploadError(LLCore::HttpStatus status, LLSD &res
|
|||
}
|
||||
}
|
||||
|
||||
// Let the Snapshot floater know we have failed uploading.
|
||||
LLFloater* floater_snapshot = LLFloaterReg::findInstance("snapshot");
|
||||
if (uploadInfo->getAssetType() == LLAssetType::AT_TEXTURE && floater_snapshot)
|
||||
{
|
||||
floater_snapshot->notify(LLSD().with("set-finished", LLSD().with("ok", false).with("msg", "inventory")));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue