diff options
Diffstat (limited to 'linden/indra/newview/llassetuploadresponders.cpp')
-rw-r--r-- | linden/indra/newview/llassetuploadresponders.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linden/indra/newview/llassetuploadresponders.cpp b/linden/indra/newview/llassetuploadresponders.cpp index dfd7403..700edb5 100644 --- a/linden/indra/newview/llassetuploadresponders.cpp +++ b/linden/indra/newview/llassetuploadresponders.cpp | |||
@@ -378,6 +378,14 @@ void LLSendTexLayerResponder::uploadComplete(const LLSD& content) | |||
378 | } | 378 | } |
379 | } | 379 | } |
380 | 380 | ||
381 | void LLSendTexLayerResponder::error(U32 statusNum, const std::string& reason) | ||
382 | { | ||
383 | llinfos << "status: " << statusNum << " reason: " << reason << llendl; | ||
384 | |||
385 | // Invoke the original callback with an error result | ||
386 | LLTexLayerSetBuffer::onTextureUploadComplete(LLUUID(), (void*) mBakedUploadData, -1, LL_EXSTAT_NONE); | ||
387 | mBakedUploadData = NULL; // deleted in onTextureUploadComplete() | ||
388 | } | ||
381 | 389 | ||
382 | LLUpdateAgentInventoryResponder::LLUpdateAgentInventoryResponder(const LLSD& post_data, | 390 | LLUpdateAgentInventoryResponder::LLUpdateAgentInventoryResponder(const LLSD& post_data, |
383 | const LLUUID& vfile_id, | 391 | const LLUUID& vfile_id, |