It's working again. Thanks! :D
> On Wed, 24 Jun 2009, Jon S. Berndt wrote:
> 
> >> On Wed, 2009-06-24 at 06:59 +0200, Anders Gidenstam wrote:
> >>> On Tue, 23 Jun 2009, Victhor wrote:
> >>> Btw Jon:
> >>> Reset in FlightGear yields multiple /fdm/jsbsim property subtrees.
> >>
> >> Here, too.
> >
> > This is a result of my experimenting with the multiple FDM feature again -
> > which is not ready, but which should be innocuous. Apparently it's not. Did
> > you use the JSBSim.cxx from JSBSim CVS? I think I can fix this fairly
> > easily.
> 
> FlightGear creates a new instance of JSBSim on each reset so the counter 
> counting the number of created FGFDMExec objects will increase even if 
> there is only ever a single concurrently live instance. This counter is 
> used to set the index of the /fdm/jsbsim[x] subtree in FGFDMExec.
> 
> The JSBSim.cxx file in FlightGear is identical to the one in JSBSim/CVS 
> since Erik's latest merge.
> 
> > Now I need to remember how I fixed this before. Are you using the JSBSim.cxx
> > from JSBSim CVS?
> 
> I added the "hack" to JSBSim.cxx that solved that the last time (not 
> beautiful code but it did the job without interfering with the desired 
> function in JSBSim/standalone). You can easily pull it out of the CVS 
> history for JSBSim.cxx. Hint: Check the diff between revision 1.48 and 
> 1.47 :)
> 
> Cheers,
> 
> Anders


------------------------------------------------------------------------------
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to