diff options
| author | Callum Prentice <callum@gmail.com> | 2020-09-16 18:53:24 -0700 |
|---|---|---|
| committer | Callum Prentice <callum@gmail.com> | 2020-09-16 18:53:24 -0700 |
| commit | 3fc07dea01795b31c37dcd093ec73d190a1e188a (patch) | |
| tree | b000b56002957e5d0367aa87f0b03b8827181474 /indra/llmessage/lltransfersourceasset.cpp | |
| parent | 060dd2aeab72df26d6375f2e0fad619113fe7e13 (diff) | |
First part of change to remove LLVFS from the Viewer. Consists of code changes to remove LLVFS and LLVFSThread classes along with the associated source files. The existing llvfs folder is renamed to llcache. Also includes changes to CMake script in many places to reflect changes. Eventually, llvfile source file and class will be renamed but that is not in this change.
Diffstat (limited to 'indra/llmessage/lltransfersourceasset.cpp')
| -rw-r--r-- | indra/llmessage/lltransfersourceasset.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llmessage/lltransfersourceasset.cpp b/indra/llmessage/lltransfersourceasset.cpp index 80ed3340c6..0156d1a5ef 100644 --- a/indra/llmessage/lltransfersourceasset.cpp +++ b/indra/llmessage/lltransfersourceasset.cpp @@ -99,7 +99,7 @@ LLTSCode LLTransferSourceAsset::dataCallback(const S32 packet_id, return LLTS_SKIP; } - LLVFile vf(gAssetStorage->mVFS, mParams.getAssetID(), mParams.getAssetType(), LLVFile::READ); + LLVFile vf(mParams.getAssetID(), mParams.getAssetType(), LLVFile::READ); if (!vf.getSize()) { @@ -171,7 +171,7 @@ BOOL LLTransferSourceAsset::unpackParams(LLDataPacker &dp) } -void LLTransferSourceAsset::responderCallback(LLVFS *vfs, const LLUUID& uuid, LLAssetType::EType type, +void LLTransferSourceAsset::responderCallback(const LLUUID& uuid, LLAssetType::EType type, void *user_data, S32 result, LLExtStat ext_status ) { LLUUID *tidp = ((LLUUID*) user_data); @@ -198,7 +198,7 @@ void LLTransferSourceAsset::responderCallback(LLVFS *vfs, const LLUUID& uuid, LL if (LL_ERR_NOERR == result) { // Everything's OK. - LLVFile vf(gAssetStorage->mVFS, uuid, type, LLVFile::READ); + LLVFile vf(uuid, type, LLVFile::READ); tsap->mSize = vf.getSize(); status = LLTS_OK; } |
