mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 05:50:31 +00:00
uninitialized variables-ts
This commit is contained in:
parent
c2e74f375a
commit
9e1c22204f
13 changed files with 29 additions and 10 deletions
|
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue