> John Denker wrote: > > [... reset function ...] > > All evidence indicates that the function being called was not designed > > to be used this way, i.e. not to be used in flight and not to be used > > repeatedly. Instead it was supposed to be used once, during initial > > startup. > > John, actually, what you're looking for is a routine that allows you to > dump the whole property tree at runtime into a file and allow > re-loading this as a preset. In order not to break current behaviour it > would be necessary to compile a 'standard-preset' file that would be > loaded upon reset unless otherwise defined. > > Correct ? > Martin.
I wonder, however, if there are some important terms that are not properties. Internal states may need to be saved, but are not stored as proeprties, therefore an approach such as you suggest may not work. Jon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel