summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2016-07-14 18:51:00 +0300
committerAndreyL ProductEngine <alihatskiy@productengine.com>2016-07-14 18:51:00 +0300
commit32e8646e7ad79e127cc1f2faa675da6bdcfbef0f (patch)
tree6c48ba3db40fbf1b1e85cb404ae60654f2d98235
parent60c0c0e0e4b504ae4e1a701265c1134220e7a8a1 (diff)
MAINT-6559 Fixed a constant in Mesh Streaming calculation
-rw-r--r--indra/newview/llmeshrepository.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llmeshrepository.cpp b/indra/newview/llmeshrepository.cpp
index 39ebf9f95b..c3d41c65a6 100644
--- a/indra/newview/llmeshrepository.cpp
+++ b/indra/newview/llmeshrepository.cpp
@@ -4098,7 +4098,7 @@ F32 LLMeshRepository::getStreamingCost(LLSD& header, F32 radius, S32* bytes, S32
}
}
- F32 max_area = 102932.f; //area of circle that encompasses region
+ F32 max_area = 102944.f; //area of circle that encompasses region (see MAINT-6559)
F32 min_area = 1.f;
F32 high_area = llmin(F_PI*dmid*dmid, max_area);