From 1ab02d80720ddbb21a6d5bf320ce8a79e3882042 Mon Sep 17 00:00:00 2001 From: scrawl Date: Sat, 28 Jun 2014 00:10:36 +0200 Subject: [PATCH] Fix exception for box shapes (Fixes #1580) --- components/nifbullet/bulletnifloader.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/components/nifbullet/bulletnifloader.cpp b/components/nifbullet/bulletnifloader.cpp index 7f78c04aa..31d4e10d6 100644 --- a/components/nifbullet/bulletnifloader.cpp +++ b/components/nifbullet/bulletnifloader.cpp @@ -108,6 +108,7 @@ void ManualBulletShapeLoader::loadResource(Ogre::Resource *resource) for(int i=0; i getChildShape(i)); delete mCompoundShape; + mShape->mAnimatedShapes.clear(); } } else