mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-28 15:55:39 +00:00
uninitialized variables-ts
This commit is contained in:
parent
c2e74f375a
commit
9e1c22204f
13 changed files with 29 additions and 10 deletions
|
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ AppNode::AppNode()
|
|||
{
|
||||
mName = NULL;
|
||||
mParentName = NULL;
|
||||
mParentIndex = 0;
|
||||
}
|
||||
|
||||
AppNode::~AppNode()
|
||||
|
|
|
|||
|
|
@ -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) { }
|
||||
|
|
|
|||
|
|
@ -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; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue