diff options
author | ruslantproductengine <ruslantproductengine@lindenlab.com> | 2016-02-08 19:16:58 +0200 |
---|---|---|
committer | ruslantproductengine <ruslantproductengine@lindenlab.com> | 2016-02-08 19:16:58 +0200 |
commit | ba2fccf6dc8adcf4abda06004a5f450b5d79856d (patch) | |
tree | c5003e347b6481b9f3f401fe3f98dac06558c4e0 | |
parent | 510ca136794008f73895c72c07d4f93e345ced26 (diff) |
MAINT-6069 Modify rendering cost calculation to use the currently active LoD
-rwxr-xr-x | indra/newview/llvovolume.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index f8f613cf0f..c15bf4ecf3 100755 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -3435,7 +3435,7 @@ U32 LLVOVolume::getRenderCost(texture_cost_t &textures) const { // base cost is dependent on mesh complexity // note that 3 is the highest LOD as of the time of this coding. - S32 size = gMeshRepo.getMeshSize(volume_params.getSculptID(),3); + S32 size = gMeshRepo.getMeshSize(volume_params.getSculptID(), getLOD()); if ( size > 0) { if (gMeshRepo.getSkinInfo(volume_params.getSculptID(), this)) |