

def __incrementFrame(self, increment):
    frame = (increment.context().getFrame() + increment)
    if (frame > self.__frameRange[1]):
        frame = (self.__frameRange[0] + (frame - math.floor(frame)))
    elif (frame < self.__frameRange[0]):
        frame = (self.__frameRange[1] + (frame - math.floor(frame)))
    self.context().setFrame(frame)

dataset/ETHPy150Open ImageEngine/gaffer/python/GafferUI/Playback.py Playback.__incrementFrame/VarMisuse@15/18 `self`->`increment`