void CompositeAnimation::setAnimationStartTime(double t) { // set start time on all animations waiting for it AnimationNameMap::const_iterator kfend = m_keyframeAnimations.end(); for (AnimationNameMap::const_iterator it = m_keyframeAnimations.begin(); it != kfend; ++it) { KeyframeAnimation* anim = it->second; if (anim && anim->waitingForStartTime()) anim->updateStateMachine(AnimationBase::STATE_INPUT_START_TIME_SET, t); } }
void CompositeAnimationPrivate::setAnimationStartTime(double t) { // Set start time on all animations waiting for it AnimationNameMap::const_iterator end = m_keyframeAnimations.end(); for (AnimationNameMap::const_iterator it = m_keyframeAnimations.begin(); it != end; ++it) { KeyframeAnimation* anim = it->second.get(); if (anim && anim->waitingForStartTime()) anim->updateStateMachine(AnimationBase::AnimationStateInputStartTimeSet, t); } }