mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-30 07:21:12 +00:00
KeyframeManager fix
This commit is contained in:
parent
346052a67a
commit
076dc539bc
@ -31,7 +31,7 @@ namespace Resource
|
||||
osg::ref_ptr<NifOsg::KeyframeHolder> loaded (new NifOsg::KeyframeHolder);
|
||||
NifOsg::Loader::loadKf(Nif::NIFFilePtr(new Nif::NIFFile(mVFS->getNormalized(normalized), normalized)), *loaded.get());
|
||||
|
||||
mCache->addEntryToObjectCache(name, loaded);
|
||||
mCache->addEntryToObjectCache(normalized, loaded);
|
||||
return loaded;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user