diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2018-04-25 17:10:21 +0100 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2018-04-25 17:10:21 +0100 |
commit | 7d91a263a8a634b0148fcd9b1a3af28f7b58ca1c (patch) | |
tree | d20c4abeb555c3efbf04a2b04af9e447bfe34455 /indra/newview/llfloatermodelpreview.cpp | |
parent | bc773adf618eb531fdccacd95f4cd51f6b87497a (diff) |
MAINT-8549 - more on animesh ARC and associated refactoring
Diffstat (limited to 'indra/newview/llfloatermodelpreview.cpp')
-rw-r--r-- | indra/newview/llfloatermodelpreview.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp index 168fb13d11..1667f01272 100644 --- a/indra/newview/llfloatermodelpreview.cpp +++ b/indra/newview/llfloatermodelpreview.cpp @@ -1360,7 +1360,11 @@ U32 LLModelPreview::calcResourceCost() F32 radius = scale.length()*0.5f*debug_scale; - streaming_cost += LLMeshRepository::getStreamingCost(ret, radius); + LLMeshCostData costs; + if (gMeshRepo.getCostData(ret, costs)) + { + streaming_cost += costs.getRadiusBasedStreamingCost(radius); + } } } |