diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-11-15 23:23:09 +0200 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-11-15 23:23:09 +0200 |
commit | 3641541c6cc7f33f0e0dc2e1eb2cfdfcec23322b (patch) | |
tree | 9364983a8006240048bf5adba7dcd8aca8a3c4ab /indra/llprimitive/llmodel.cpp | |
parent | 27c1f52e6e484c778448d026600bdbcad7d19fb9 (diff) |
SL-15756 Removed mHasGeneratedFaces
mHasGeneratedFaces is always true for some types of models and glod was treating faces as one mesh by default, so meshoptimizer should do the same regardles of mHasGeneratedFaces
Diffstat (limited to 'indra/llprimitive/llmodel.cpp')
-rw-r--r-- | indra/llprimitive/llmodel.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/llprimitive/llmodel.cpp b/indra/llprimitive/llmodel.cpp index 8b8fde0ea0..702a1b5238 100644 --- a/indra/llprimitive/llmodel.cpp +++ b/indra/llprimitive/llmodel.cpp @@ -55,8 +55,7 @@ LLModel::LLModel(LLVolumeParams& params, F32 detail) mNormalizedTranslation(0,0,0), mPelvisOffset( 0.0f ), mStatus(NO_ERRORS), - mSubmodelID(0), - mHasGeneratedFaces(false) + mSubmodelID(0) { mDecompID = -1; mLocalID = -1; |