Skip to content
Snippets Groups Projects
Commit 13189d73 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Fix broken asset uploads

parent a5617cc8
No related branches found
No related tags found
No related merge requests found
......@@ -299,7 +299,7 @@ void LLViewerAssetStorage::storeAssetData(
legacy->mUpCallback = callback;
legacy->mUserData = user_data;
LLFileSystem file(asset_id, asset_type, LLFileSystem::WRITE);
LLFileSystem file(asset_id, asset_type, LLFileSystem::APPEND);
const S32 buf_size = 65536;
U8 copy_buf[buf_size];
......
......@@ -473,7 +473,7 @@ LLSD LLNewFileResourceUploadInfo::exportTempFile()
infile.open(filename, LL_APR_RB, NULL, &file_size);
if (infile.getFileHandle())
{
LLFileSystem file(getAssetId(), assetType, LLFileSystem::WRITE);
LLFileSystem file(getAssetId(), assetType, LLFileSystem::APPEND);
const S32 buf_size = 65536;
U8 copy_buf[buf_size];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment