

def __timerCallback(self):
    increment = None
    if (self.__state == self.State.PlayingForwards):
        increment = 1
    elif (self.__state == self.State.PlayingBackwards):
        increment = (- 1)
    if (increment is None):
        return
    self.__incrementFrame(increment)

dataset/ETHPy150Open ImageEngine/gaffer/python/GafferUI/Playback.py Playback.__timerCallback/original