summaryrefslogtreecommitdiff
path: root/indra/llprimitive/llmodel.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-11-15 23:23:09 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-11-15 23:23:09 +0200
commit3641541c6cc7f33f0e0dc2e1eb2cfdfcec23322b (patch)
tree9364983a8006240048bf5adba7dcd8aca8a3c4ab /indra/llprimitive/llmodel.h
parent27c1f52e6e484c778448d026600bdbcad7d19fb9 (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.h')
-rw-r--r--indra/llprimitive/llmodel.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/indra/llprimitive/llmodel.h b/indra/llprimitive/llmodel.h
index 87a47dcb36..96368d64e5 100644
--- a/indra/llprimitive/llmodel.h
+++ b/indra/llprimitive/llmodel.h
@@ -284,11 +284,6 @@ public:
// A model/object can only have 8 faces, spillover faces will
// be moved to new model/object and assigned a submodel id.
int mSubmodelID;
- // A .dae face can have more than 65K vertices, but viewer
- // is limited to U16 for indices, in such case spilower will
- // be moved into new face and this will be set to true.
- // Also true in case faces were generated from polygons
- bool mHasGeneratedFaces;
};
typedef std::vector<LLPointer<LLModel> > model_list;