mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 21:53:51 +00:00
BulletShapeManager kf loading fix
This commit is contained in:
parent
2bc95df265
commit
82316105de
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ osg::ref_ptr<BulletShapeInstance> BulletShapeManager::createInstance(const std::
|
||||||
std::set<std::string> animatedNodes;
|
std::set<std::string> animatedNodes;
|
||||||
if (mVFS->exists(kfname))
|
if (mVFS->exists(kfname))
|
||||||
{
|
{
|
||||||
osg::ref_ptr<const NifOsg::KeyframeHolder> keyframes = mSceneManager->getKeyframes(normalized);
|
osg::ref_ptr<const NifOsg::KeyframeHolder> keyframes = mSceneManager->getKeyframes(kfname);
|
||||||
for (NifOsg::KeyframeHolder::KeyframeControllerMap::const_iterator it = keyframes->mKeyframeControllers.begin();
|
for (NifOsg::KeyframeHolder::KeyframeControllerMap::const_iterator it = keyframes->mKeyframeControllers.begin();
|
||||||
it != keyframes->mKeyframeControllers.end(); ++it)
|
it != keyframes->mKeyframeControllers.end(); ++it)
|
||||||
animatedNodes.insert(it->first);
|
animatedNodes.insert(it->first);
|
||||||
|
|
Loading…
Reference in a new issue