diff options
author | andreykproductengine <akleshchev@productengine.com> | 2016-06-15 18:01:44 +0300 |
---|---|---|
committer | andreykproductengine <akleshchev@productengine.com> | 2016-06-15 18:01:44 +0300 |
commit | c664ae73c3fa46e430306d7b24af3026246f8097 (patch) | |
tree | 9e1e68f2a87c8c5e75f875718b4889d0b8732209 /indra/newview | |
parent | d1d39c1dd4bb3454f21a97083575853fd0ca237c (diff) |
MAINT-6460 additional header check
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llmeshrepository.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llmeshrepository.cpp b/indra/newview/llmeshrepository.cpp index 117507ef39..39ebf9f95b 100644 --- a/indra/newview/llmeshrepository.cpp +++ b/indra/newview/llmeshrepository.cpp @@ -4034,7 +4034,7 @@ void LLMeshRepository::uploadError(LLSD& args) //static F32 LLMeshRepository::getStreamingCost(LLSD& header, F32 radius, S32* bytes, S32* bytes_visible, S32 lod, F32 *unscaled_value) { - if (header.size() == 0) + if (header.size() == 0 || header.has("404") || header["version"].asInteger() > MAX_MESH_VERSION) { return 0.f; } |