stop and play animation frame

hello~, what I am doing is like this:

def stopAnim():
    now = pandaActor.getCurrentFrame('walk_a')
    print now
    pandaActor.stop()
    
    #print pandaActor.getCurrentFrame('walk_a')

def playAnim():
    
    pandaActor.loop("walk_a",restart = 0,fromFrame = 370, toFrame = 680)

The question is: When I ckick "“stop” at frame 430, the animation “looks stop”, but when i click "play"after 1 second, the animation play from frame 460, I mean the animation keep playing behind, is that normal?
But when I didn’t specify what frame to start or top, the strange situation didn’t show up:

def stopAnim():
    now = pandaActor.getCurrentFrame('walk_a')
    print now
    pandaActor.stop()
    
    #print pandaActor.getCurrentFrame('walk_a')

def playAnim():
    
    pandaActor.loop("walk_a",restart = 0)

Could anyone tell me what was going wrong? Thanks.
My environmentis:
panda 1.5.3
ubuntu 7.10
eclipse 3.3.2
pydev 1.3.24

That’s pretty weird all right. I’ve successfully reproduced this problem in my own build; it does appear to be a minor bug in the animation subsystem.

I’ll see about getting in a fix. The correct behavior should be to resume from the stopped frame, not from the frame as if it had continued to play.

David