mirror of https://github.com/axmolengine/axmol.git
Merge pull request #8891 from minggo/remove-unneeded-code
[ci skip]remove unneeded codes
This commit is contained in:
commit
8a3a11fa40
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue