diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-06-10 19:43:14 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-06-11 10:23:46 +0300 |
commit | b08340f1831005ae227577899a64408cc939a12d (patch) | |
tree | ba5bc8cd3c3edf5cdc2670a8a3c01d84f12c506f /indra/llprimitive/llmodel.cpp | |
parent | 58a500bee8dc06acb35acb5c2e5c65d2df99a0d8 (diff) |
SL-17475 Remap models before simplification
Diffstat (limited to 'indra/llprimitive/llmodel.cpp')
-rw-r--r-- | indra/llprimitive/llmodel.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llprimitive/llmodel.cpp b/indra/llprimitive/llmodel.cpp index 204ff63712..a2716ecfab 100644 --- a/indra/llprimitive/llmodel.cpp +++ b/indra/llprimitive/llmodel.cpp @@ -107,6 +107,14 @@ void LLModel::offsetMesh( const LLVector3& pivotPoint ) } } +void LLModel::remapVolumeFaces() +{ + for (U32 i = 0; i < getNumVolumeFaces(); ++i) + { + mVolumeFaces[i].remap(); + } +} + void LLModel::optimizeVolumeFaces() { for (U32 i = 0; i < getNumVolumeFaces(); ++i) |