Fixing presets: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 51: Line 51:
{{cite web |
{{cite web |
url=http://www.mail-archive.com/flightgear-devel@flightgear.org/msg18879.html |
url=http://www.mail-archive.com/flightgear-devel@flightgear.org/msg18879.html |
title= Re: Helicopters: wow!|
author=David Megginson |
date=Mon, 24 Nov 2003 08:50:37 -0800}}</ref>|David Megginson}}
{{cquote|
I think that we can do that more cleanly by allowing operation on a second property tree. Here's what I'm suggesting:
1. Set up the initial property tree (from preferences, the command line, etc.) before running any cycles.
2. Make a deep copy of that tree that can be restored.
With a reset: you should end up with exactly what you started with.
We can provide fgcommands for partial copies from the backup tree -- in that case, it is simply a matter of a few bytes of XML glue (menu, keyboard, etc.) for each kind of reset.<ref>
{{cite web |
url=http://www.mail-archive.com/flightgear-devel@flightgear.org/msg18887.html |
title= Re: Helicopters: wow!|
title= Re: Helicopters: wow!|
author=David Megginson |
author=David Megginson |

Navigation menu