uninitialized variables-ts

This commit is contained in:
AzaezelX 2020-05-11 15:40:55 -05:00
parent c2e74f375a
commit 9e1c22204f
13 changed files with 29 additions and 10 deletions

View file

@ -68,12 +68,19 @@ U32 TSShape::smMaxSkinBones = 70;
TSShape::TSShape()
{
mExporterVersion = 124;
mSmallestVisibleSize = 2;
mSmallestVisibleDL = 0;
mRadius = 0;
mFlags = 0;
tubeRadius = 0;
data = NULL;
materialList = NULL;
mReadVersion = -1; // -1 means constructed from scratch (e.g., in exporter or no read yet)
mSequencesConstructed = false;
mShapeData = NULL;
mShapeDataSize = 0;
mVertexSize = 0;
mUseDetailFromScreenError = false;
mNeedReinit = false;