forked from teamnwah/openmw-tes3coop
Merge remote-tracking branch 'lgro/valgrind_fixes'
This commit is contained in:
commit
c8c45d4923
2 changed files with 4 additions and 1 deletions
|
@ -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.
|
/// Open a NIF stream. The name is used for error messages.
|
||||||
NIFFile::NIFFile(const std::string &name, psudo_private_modifier)
|
NIFFile::NIFFile(const std::string &name, psudo_private_modifier)
|
||||||
: filename(name)
|
: ver(0)
|
||||||
|
, filename(name)
|
||||||
{
|
{
|
||||||
parse();
|
parse();
|
||||||
}
|
}
|
||||||
|
|
|
@ -161,6 +161,8 @@ struct KeyListT {
|
||||||
unsigned int mInterpolationType;
|
unsigned int mInterpolationType;
|
||||||
VecType mKeys;
|
VecType mKeys;
|
||||||
|
|
||||||
|
KeyListT() : mInterpolationType(sLinearInterpolation) {}
|
||||||
|
|
||||||
//Read in a KeyGroup (see http://niftools.sourceforge.net/doc/nif/NiKeyframeData.html)
|
//Read in a KeyGroup (see http://niftools.sourceforge.net/doc/nif/NiKeyframeData.html)
|
||||||
void read(NIFStream *nif, bool force=false)
|
void read(NIFStream *nif, bool force=false)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue