Fixed: Initialize members in IRRLoader

pull/596/head
Richard 2015-06-30 23:28:53 -06:00
parent 2f0786068d
commit 3543bb7e5f
2 changed files with 4 additions and 0 deletions

View File

@ -87,6 +87,8 @@ static const aiImporterDesc desc = {
// ------------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------------
// Constructor to be privately used by Importer // Constructor to be privately used by Importer
IRRImporter::IRRImporter() IRRImporter::IRRImporter()
: fps(),
configSpeedFlag()
{} {}
// ------------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------------

View File

@ -166,7 +166,9 @@ private:
Node(ET t) Node(ET t)
: type (t) : type (t)
, scaling (1.f,1.f,1.f) // assume uniform scaling by default , scaling (1.f,1.f,1.f) // assume uniform scaling by default
, parent()
, framesPerSecond (0.f) , framesPerSecond (0.f)
, id()
, sphereRadius (1.f) , sphereRadius (1.f)
, spherePolyCountX (100) , spherePolyCountX (100)
, spherePolyCountY (100) , spherePolyCountY (100)