diff options
author | Jacek Antonelli | 2008-08-15 23:44:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:57 -0500 |
commit | da68d3a57ecb27eba5d7efb8ff77d9640c0be65e (patch) | |
tree | f2fa2b9ed6e8cf49c8a3cb2a1893c4e5c61916a1 /linden/indra/newview/llassetuploadresponders.cpp | |
parent | Second Life viewer sources 1.15.1.3 (diff) | |
download | meta-impy-da68d3a57ecb27eba5d7efb8ff77d9640c0be65e.zip meta-impy-da68d3a57ecb27eba5d7efb8ff77d9640c0be65e.tar.gz meta-impy-da68d3a57ecb27eba5d7efb8ff77d9640c0be65e.tar.bz2 meta-impy-da68d3a57ecb27eba5d7efb8ff77d9640c0be65e.tar.xz |
Second Life viewer sources 1.16.0.5
Diffstat (limited to 'linden/indra/newview/llassetuploadresponders.cpp')
-rw-r--r-- | linden/indra/newview/llassetuploadresponders.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llassetuploadresponders.cpp b/linden/indra/newview/llassetuploadresponders.cpp index 26c606f..789beaa 100644 --- a/linden/indra/newview/llassetuploadresponders.cpp +++ b/linden/indra/newview/llassetuploadresponders.cpp | |||
@@ -128,7 +128,7 @@ void LLAssetUploadResponder::uploadUpload(const LLSD& content) | |||
128 | void LLAssetUploadResponder::uploadFailure(const LLSD& content) | 128 | void LLAssetUploadResponder::uploadFailure(const LLSD& content) |
129 | { | 129 | { |
130 | std::string reason = content["state"]; | 130 | std::string reason = content["state"]; |
131 | // deal with money errors | 131 | // deal with L$ errors |
132 | if (reason == "insufficient funds") | 132 | if (reason == "insufficient funds") |
133 | { | 133 | { |
134 | LLFloaterBuyCurrency::buyCurrency("Uploading costs", gGlobalEconomy->getPriceUpload()); | 134 | LLFloaterBuyCurrency::buyCurrency("Uploading costs", gGlobalEconomy->getPriceUpload()); |
@@ -166,7 +166,7 @@ void LLNewAgentInventoryResponder::uploadComplete(const LLSD& content) | |||
166 | LLAssetType::EType asset_type = LLAssetType::lookup(mPostData["asset_type"].asString().c_str()); | 166 | LLAssetType::EType asset_type = LLAssetType::lookup(mPostData["asset_type"].asString().c_str()); |
167 | LLInventoryType::EType inventory_type = LLInventoryType::lookup(mPostData["inventory_type"].asString().c_str()); | 167 | LLInventoryType::EType inventory_type = LLInventoryType::lookup(mPostData["inventory_type"].asString().c_str()); |
168 | 168 | ||
169 | // Update money and ownership credit information | 169 | // Update L$ and ownership credit information |
170 | // since it probably changed on the server | 170 | // since it probably changed on the server |
171 | if (asset_type == LLAssetType::AT_TEXTURE || | 171 | if (asset_type == LLAssetType::AT_TEXTURE || |
172 | asset_type == LLAssetType::AT_SOUND || | 172 | asset_type == LLAssetType::AT_SOUND || |