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

@ -26,7 +26,7 @@
Vector<AppMaterial*> AppMesh::appMaterials;
AppMesh::AppMesh()
: flags(0), vertsPerFrame(0),numFrames(0), numMatFrames(0)
: flags(0), vertsPerFrame(0),numFrames(0), numMatFrames(0), detailSize(1)
{
}

View file

@ -26,6 +26,7 @@ AppNode::AppNode()
{
mName = NULL;
mParentName = NULL;
mParentIndex = 0;
}
AppNode::~AppNode()

View file

@ -39,7 +39,7 @@ public:
F32 fps;
public:
AppSequence() { }
AppSequence():fps(30.0f) { } //default based on TSShapeLoader::XXXFrameRate(s) and AssimpAppSequence fallback
virtual ~AppSequence() { }
virtual void setActive(bool active) { }

View file

@ -182,7 +182,7 @@ protected:
void install();
public:
TSShapeLoader() : boundsNode(0) { }
TSShapeLoader() : boundsNode(0), shape(NULL) { }
virtual ~TSShapeLoader();
static const Torque::Path& getShapePath() { return shapePath; }