mirror of https://github.com/axmolengine/axmol.git
remove unneeded codes
This commit is contained in:
parent
6058a26c25
commit
47697daf03
|
@ -208,8 +208,6 @@ void Timeline::binarySearchKeyFrame(int frameIndex)
|
||||||
|
|
||||||
void Timeline::updateCurrentKeyFrame(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 play to current frame's front or back, then find current frame again
|
||||||
if (frameIndex < _currentKeyFrameIndex || frameIndex >= _currentKeyFrameIndex + _betweenDuration)
|
if (frameIndex < _currentKeyFrameIndex || frameIndex >= _currentKeyFrameIndex + _betweenDuration)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue