diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2019-11-25 22:52:07 +0200 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2019-11-25 22:52:07 +0200 |
commit | f1a6e776b41f15ffc0ed4cf245136143bcd1a852 (patch) | |
tree | e83f829a93c661a6f11c60267f272e6e064cef09 /indra/newview/llviewerassetupload.cpp | |
parent | 9621dd8bbd1697b119574bcc879345f03b42969e (diff) |
SL-12097, SL-12098, SL-12099 UI update for Texture, Animation and Sound upload fees
Diffstat (limited to 'indra/newview/llviewerassetupload.cpp')
-rw-r--r-- | indra/newview/llviewerassetupload.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/indra/newview/llviewerassetupload.cpp b/indra/newview/llviewerassetupload.cpp index 4cbb88d4f1..51c8f4ab79 100644 --- a/indra/newview/llviewerassetupload.cpp +++ b/indra/newview/llviewerassetupload.cpp @@ -309,11 +309,11 @@ std::string LLResourceUploadInfo::getDisplayName() const bool LLResourceUploadInfo::findAssetTypeOfExtension(const std::string& exten, LLAssetType::EType& asset_type) { U32 codec; - return findAssetTypeAndCodecOfExtension(exten, asset_type, codec); + return findAssetTypeAndCodecOfExtension(exten, asset_type, codec, false); } // static -bool LLResourceUploadInfo::findAssetTypeAndCodecOfExtension(const std::string& exten, LLAssetType::EType& asset_type, U32& codec) +bool LLResourceUploadInfo::findAssetTypeAndCodecOfExtension(const std::string& exten, LLAssetType::EType& asset_type, U32& codec, bool bulk_upload) { bool succ = false; @@ -333,6 +333,11 @@ bool LLResourceUploadInfo::findAssetTypeAndCodecOfExtension(const std::string& e asset_type = LLAssetType::AT_ANIMATION; succ = true; } + else if (!bulk_upload && (exten == "bvh")) + { + asset_type = LLAssetType::AT_ANIMATION; + succ = true; + } return succ; } |