@ -873,16 +873,6 @@ namespace MWRender
addControllers();
}
void Animation::stopLooping(const std::string& groupname)
{
AnimStateMap::iterator stateiter = mStates.find(groupname);
if(stateiter != mStates.end())
stateiter->second.mLoopCount = 0;
return;
void Animation::adjustSpeedMult(const std::string &groupname, float speedmult)
AnimStateMap::iterator state(mStates.find(groupname));
@ -395,10 +395,6 @@ public:
float speedmult, const std::string &start, const std::string &stop,
float startpoint, size_t loops, bool loopfallback=false);
/** If the given animation group is currently playing, set its remaining loop count to '0'.
*/
void stopLooping(const std::string& groupName);
/** Adjust the speed multiplier of an already playing animation.
void adjustSpeedMult (const std::string& groupname, float speedmult);