KeyframeManager fix

This commit is contained in:
scrawl 2015-12-14 15:11:06 +01:00
parent 346052a67a
commit 076dc539bc

View file

@ -31,7 +31,7 @@ namespace Resource
osg::ref_ptr<NifOsg::KeyframeHolder> loaded (new NifOsg::KeyframeHolder); osg::ref_ptr<NifOsg::KeyframeHolder> loaded (new NifOsg::KeyframeHolder);
NifOsg::Loader::loadKf(Nif::NIFFilePtr(new Nif::NIFFile(mVFS->getNormalized(normalized), normalized)), *loaded.get()); NifOsg::Loader::loadKf(Nif::NIFFilePtr(new Nif::NIFFile(mVFS->getNormalized(normalized), normalized)), *loaded.get());
mCache->addEntryToObjectCache(name, loaded); mCache->addEntryToObjectCache(normalized, loaded);
return loaded; return loaded;
} }
} }