summaryrefslogtreecommitdiff
path: root/indra/newview/llpolymesh.cpp
diff options
context:
space:
mode:
authorBrian McGroarty <soft@lindenlab.com>2008-05-07 17:17:42 +0000
committerBrian McGroarty <soft@lindenlab.com>2008-05-07 17:17:42 +0000
commite1e1212daae33723e7da325f295a5c3a6bb78979 (patch)
tree95139904e71995519db2fc6e056940b2f40e73a3 /indra/newview/llpolymesh.cpp
parent41927004751731d2d0cb74989ded36878292ee4e (diff)
QAR-520 maintenance-7 merge -- svn merge -r 84923:86093 svn+ssh://svn.lindenlab.com/svn/linden/qa/maintenance-7-sandbox-84884 -- dataserver-is-deprecated
Diffstat (limited to 'indra/newview/llpolymesh.cpp')
-rw-r--r--indra/newview/llpolymesh.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llpolymesh.cpp b/indra/newview/llpolymesh.cpp
index 85d5def673..947557e0b3 100644
--- a/indra/newview/llpolymesh.cpp
+++ b/indra/newview/llpolymesh.cpp
@@ -687,6 +687,12 @@ LLPolyMesh::LLPolyMesh(LLPolyMeshSharedData *shared_data, LLPolyMesh *reference_
mAvatarp = NULL;
mVertexData = NULL;
+ mCurVertexCount = 0;
+ mFaceIndexCount = 0;
+ mFaceIndexOffset = 0;
+ mFaceVertexCount = 0;
+ mFaceVertexOffset = 0;
+
if (shared_data->isLOD() && reference_mesh)
{
mCoords = reference_mesh->mCoords;