Merge pull request #8891 from minggo/remove-unneeded-code

[ci skip]remove unneeded codes
This commit is contained in:
minggo 2014-10-21 17:30:43 +08:00
commit 8a3a11fa40
1 changed files with 0 additions and 2 deletions

View File

@ -208,8 +208,6 @@ void Timeline::binarySearchKeyFrame(int frameIndex)
void Timeline::updateCurrentKeyFrame(int frameIndex)
{
if(frameIndex > 60)
//! If play to current frame's front or back, then find current frame again
if (frameIndex < _currentKeyFrameIndex || frameIndex >= _currentKeyFrameIndex + _betweenDuration)
{