May I remind developers that the optional arguments to
aircraft.livery.init() are *optional*? It seems to be
common practice to use the "name-path" and "sort-path"
arguments, which is generally a bad idea: it means
that you have to *manually* sort the entries, which
isn't only more work, but also makes user additions
harder! (What if two contributers want to offer a livery?
Then they have to agree on different indices!)

Don't use the sort index argument if you want to sort
by names *anyway*! And don't use the name-path argument
if you are using the default property path for that,
anyway (that is: "/sim/model/livery/name").

m.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to