feisishui / papervision3d

Automatically exported from code.google.com/p/papervision3d
0 stars 0 forks source link

AnimationController.as update() bug #244

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When loop is false, animations stop without updating to the target time.

Currently, there is an if statement in the update function that says...

if(_currentTime > et)
{
    if(!_loop)
    {
        stop();
        return;
    }

Before return, the channels need to be updated to reflect et...

if(_currentTime > et)
{
    if(!_loop)
    {
        for each(channel in _channels)
        {
            channel.update(et);
        }
        stop();
        return;
    }

Original issue reported on code.google.com by acor...@gmail.com on 4 Dec 2009 at 3:58