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

smallbug

parent 429ba35a
No related branches found
No related tags found
No related merge requests found
...@@ -3289,7 +3289,7 @@ void LLMeshHeaderHandler::processData(LLCore::BufferArray * /* body */, S32 /* b ...@@ -3289,7 +3289,7 @@ void LLMeshHeaderHandler::processData(LLCore::BufferArray * /* body */, S32 /* b
LLFileSystem file(mesh_id, LLAssetType::AT_MESH, LLFileSystem::WRITE); LLFileSystem file(mesh_id, LLAssetType::AT_MESH, LLFileSystem::WRITE);
if (file.getMaxSize() >= padded_data.size()) if (file.getMaxSize() >= padded_data.size())
{ {
LLMeshRepository::sCacheBytesWritten += padded_data.size(); LLMeshRepository::sCacheBytesWritten += data_size;
++LLMeshRepository::sCacheWrites; ++LLMeshRepository::sCacheWrites;
file.write(padded_data.data(), padded_data.size()); file.write(padded_data.data(), padded_data.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