mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 22:15:32 +00:00
Dead code removal
This commit is contained in:
parent
04accb7652
commit
7a46d4f46a
1 changed files with 0 additions and 17 deletions
|
@ -611,23 +611,6 @@ osg::Vec3f NpcAnimation::runAnimation(float timepassed)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
mFirstPersonOffset = 0.f; // reset the X, Y, Z offset for the next frame.
|
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<Ogre::Controller<Ogre::Real> >::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;
|
return ret;
|
||||||
|
|
Loading…
Reference in a new issue