|
From: TheFGFSEagle <the...@gm...> - 2023-06-30 22:12:28
|
Well, you always can read the data file outside the aircraft.data mechanism by using io.read_properties. Am Fr., 30. Juni 2023 um 17:48 Uhr schrieb <wki...@gm...>: > > is there some way to read a property (eg: aircraft-version) from the > aircraft-data/foo.xml file before deciding to load it in its entirety, to > load > certain specific properties from it, or to ignore it completely? > > the reason i ask is that sometimes when craft get updated, there may be > properties (or missing properties) in the file that cause problems for a > craft > that has been updated... in all the cases i'm aware of, the fix was for > the user > to go behind the scenes and manually delete this file so the craft could > start > clean... but that's not always a GoodThing<tm> because there may be data > in the > file that is desirable (eg: hobbs clock) and doesn't cause problems... > > my idea is for the craft to somehow be able to handle this situation > itself > without the user having to get involved behind the scenes or maybe think > the > craft is just broken and go complaining about it... or not... > > > -- > NOTE: No off-list assistance is given without prior approval. > *Please keep mailing list traffic on the list unless* > *a signed and pre-paid contract is in effect with us.* > > > _______________________________________________ > Flightgear-devel mailing list > Fli...@li... > https://lists.sourceforge.net/lists/listinfo/flightgear-devel > |