RE: [Flightgear-devel] sun angle bug fix

2003-09-18 Thread Jim Wilson
Norman Vine [EMAIL PROTECTED] said: Jim Wilson writes Well I'm not sure exactly what the problem is. Hi Jim. You just need to add the call to fgUpdateLocalTime() as below Cheers Norman // $FG_SRC / Time / tmp.cxx // update sky and lighting parameters void

Re: [Flightgear-devel] sun angle bug fix

2003-09-18 Thread Erik Hofman
Jim Wilson wrote: Norman Vine [EMAIL PROTECTED] said: Jim Wilson writes Well I'm not sure exactly what the problem is. Hi Jim. You just need to add the call to fgUpdateLocalTime() as below Gadds!...ok...then what currently triggers that update so that the values happen to be correct by the

RE: [Flightgear-devel] sun angle bug fix

2003-09-18 Thread Norman Vine
Erik Hofman writes: Jim Wilson wrote: Norman Vine [EMAIL PROTECTED] said: Well I'm not sure exactly what the problem is. You just need to add the call to fgUpdateLocalTime() as below Gadds!...ok...then what currently triggers that update so that the values happen to be correct by

[Flightgear-devel] sun angle bug fix

2003-09-17 Thread Jim Wilson
Well I'm not sure exactly what the problem is. To say the least getting into some of this code isn't very easy. Here's a patch that forces a single update after the FDM initializes. Actually I think what this does is just delay the lighting update until the second frame, since as far as I can

RE: [Flightgear-devel] sun angle bug fix

2003-09-17 Thread Norman Vine
Jim Wilson writes Well I'm not sure exactly what the problem is. Hi Jim. You just need to add the call to fgUpdateLocalTime() as below Cheers Norman // $FG_SRC / Time / tmp.cxx // update sky and lighting parameters void fgUpdateSkyAndLightingParams() { fgUpdateLocalTime();