From 7bcfe9db6dc3833a1a0bf1520f44820883d9a329 Mon Sep 17 00:00:00 2001 From: Rye Mutt <rye@alchemyviewer.org> Date: Sat, 3 Feb 2024 13:37:22 -0500 Subject: [PATCH] Touch --- indra/newview/llvocache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llvocache.cpp b/indra/newview/llvocache.cpp index 8cf9a1e8392..ef4e763b77b 100644 --- a/indra/newview/llvocache.cpp +++ b/indra/newview/llvocache.cpp @@ -1598,7 +1598,7 @@ void LLVOCache::readGenericExtrasFromCache(U64 handle, const LLUUID& id, LLVOCac LL_DEBUGS("GLTF") << "Beginning reading extras cache for handle " << handle << ", " << num_entries << " entries" << LL_ENDL; LLSD entry_llsd; - for (U32 i = 0; i < num_entries && in.good(); i++) + for (U32 i = 0; i < num_entries && !in.eof(); i++) { static const U32 max_size = 4096; bool success = LLSDSerialize::deserialize(entry_llsd, in, max_size); -- GitLab