Valgrind: Added constructor for KeyListT class, and added initialziation of ver member field in NIFFile class.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
deque
Lukasz Gromanowski 11 years ago
parent fc6366fb27
commit abeb1d4ab3

@ -172,7 +172,8 @@ NIFFile::ptr NIFFile::create (const std::string &name) { return LoadedCache::cre
/// Open a NIF stream. The name is used for error messages.
NIFFile::NIFFile(const std::string &name, psudo_private_modifier)
: filename(name)
: ver(0)
, filename(name)
{
parse();
}

@ -161,6 +161,8 @@ struct KeyListT {
unsigned int mInterpolationType;
VecType mKeys;
KeyListT() : mInterpolationType(sLinearInterpolation) {}
//Read in a KeyGroup (see http://niftools.sourceforge.net/doc/nif/NiKeyframeData.html)
void read(NIFStream *nif, bool force=false)
{

Loading…
Cancel
Save