From 82316105de11384d509a54e185b1999d2547899f Mon Sep 17 00:00:00 2001 From: scrawl Date: Tue, 12 May 2015 16:49:53 +0200 Subject: [PATCH] BulletShapeManager kf loading fix --- components/nifbullet/bulletshapemanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/nifbullet/bulletshapemanager.cpp b/components/nifbullet/bulletshapemanager.cpp index 34c64570e..e53a351cf 100644 --- a/components/nifbullet/bulletshapemanager.cpp +++ b/components/nifbullet/bulletshapemanager.cpp @@ -40,7 +40,7 @@ osg::ref_ptr BulletShapeManager::createInstance(const std:: std::set animatedNodes; if (mVFS->exists(kfname)) { - osg::ref_ptr keyframes = mSceneManager->getKeyframes(normalized); + osg::ref_ptr keyframes = mSceneManager->getKeyframes(kfname); for (NifOsg::KeyframeHolder::KeyframeControllerMap::const_iterator it = keyframes->mKeyframeControllers.begin(); it != keyframes->mKeyframeControllers.end(); ++it) animatedNodes.insert(it->first);