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

@ -118,6 +118,7 @@ TSShapeInstance::TSShapeInstance( const Resource<TSShape> &shape, bool loadMater
mShapeResource = shape;
mShape = mShapeResource;
mUseOverrideTexture = false;
buildInstanceData( mShape, loadMaterials );
}
@ -135,6 +136,7 @@ TSShapeInstance::TSShapeInstance( TSShape *shape, bool loadMaterials )
mShapeResource = NULL;
mShape = shape;
mUseOverrideTexture = false;
buildInstanceData( mShape, loadMaterials );
}