Andy Ross wrote:

> Melchior FRANZ wrote:
> > Jim Wilson wrote:
> > > Today's cvs: On loading the dc3 flightgear just hangs some time
> > > after the sound init.  The p51d hangs (no more display updates)
> > > when you switch to an external view.  I'm doing a poll to see if
> > > anyone else is getting this, before I come back to it later this
> > > weekend.
> >
> > That's due to Fred's changes in animation.cxx:502. in the
> > non-_use_personality if-branch _total_duration_sec is not
> > instantiated and may be zero. This leads to a beeping endless loop.
> 
> Yeah, I can duplicate the issue too after an update.  That diagnosis
> looks correct to me.  It's not completely clear to me what the loop in
> question is supposed to do.  Fred?

The loop is there to catch up with a delay or a pause in the animation. 
Otherwise, the animation was changing step every frame until the 
_last_time_sec reach the current sim time. _total_duration_sec is the
period of the whole animation, or should be.

The fix is now committed

-Fred



_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to