summaryrefslogtreecommitdiff
path: root/indra/newview/llmodelpreview.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-12-08 22:58:27 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-12-10 18:12:41 +0200
commit7414f71880b3ecda58a66233aeade8325535cae0 (patch)
tree14267a1798fbdf5ff52b58018ef1b5b6f245eb1f /indra/newview/llmodelpreview.cpp
parentcba1daaf6be4dfd031cd10d9aea07c7124d32726 (diff)
SL-16471 Removed unneeded MeshOpt generation method
Diffstat (limited to 'indra/newview/llmodelpreview.cpp')
-rw-r--r--indra/newview/llmodelpreview.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/indra/newview/llmodelpreview.cpp b/indra/newview/llmodelpreview.cpp
index 6a827207ae..4c20f941ce 100644
--- a/indra/newview/llmodelpreview.cpp
+++ b/indra/newview/llmodelpreview.cpp
@@ -1754,15 +1754,6 @@ void LLModelPreview::genMeshOptimizerLODs(S32 which_lod, S32 meshopt_mode, U32 d
}
}
}
-
- if (model_meshopt_mode == MESH_OPTIMIZER)
- {
- // Run meshoptimizer for each face
- for (U32 face_idx = 0; face_idx < base->getNumVolumeFaces(); ++face_idx)
- {
- genMeshOptimizerPerFace(base, target_model, face_idx, indices_decimator, lod_error_threshold, false);
- }
- }
if (model_meshopt_mode == MESH_OPTIMIZER_SLOPPY)
{