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);