From 7a46d4f46aabb6cb4fb1f925cf87e0b36e90d74d Mon Sep 17 00:00:00 2001 From: scrawl Date: Wed, 22 Apr 2015 17:48:06 +0200 Subject: [PATCH] Dead code removal --- apps/openmw/mwrender/npcanimation.cpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/apps/openmw/mwrender/npcanimation.cpp b/apps/openmw/mwrender/npcanimation.cpp index 56f12da13..740418a01 100644 --- a/apps/openmw/mwrender/npcanimation.cpp +++ b/apps/openmw/mwrender/npcanimation.cpp @@ -611,23 +611,6 @@ osg::Vec3f NpcAnimation::runAnimation(float timepassed) } } mFirstPersonOffset = 0.f; // reset the X, Y, Z offset for the next frame. - - for(size_t i = 0;i < ESM::PRT_Count;i++) - { - if (mObjectParts[i].isNull()) - continue; - std::vector >::iterator ctrl(mObjectParts[i]->mControllers.begin()); - for(;ctrl != mObjectParts[i]->mControllers.end();++ctrl) - ctrl->update(); - - if (!isSkinned(mObjectParts[i])) - continue; - - if (mSkelBase) - updateSkeletonInstance(mSkelBase->getSkeleton(), mObjectParts[i]->mSkelBase->getSkeleton()); - - mObjectParts[i]->mSkelBase->getAllAnimationStates()->_notifyDirty(); - } */ return ret;