Before I get too far on the property node cloning thing I want to make sure 
this isn't a "feature" rather than a bug.  Does anyone want there to be old 
"/fdm/jsbsim" property nodes kept around whenever  fgInitFDM() is called?

As background, when the sim is reset using this:

          globals->get_commands()->execute("old-reinit-dialog", node);   

the old instance of the FDM is destroyed and a new one created in fgInitFDM().  
If this is a JSBSim FDM, then the property node "/fdm/jsbsim" stays and a new 
one, called "/fdm/jsbsim[1]" is created.  This happens again at every reinit.

This is a problem because some instruments are tied to properties in 
"/fdm/jsbsim", so after a reset they are tied to inactive properties.


Dave

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to