Reset & re-init: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 54: Line 54:


* places that only need to re-position will use the new ‘reposition' command, which is a simplified version of the current reset (and will become even simpler over time, but for now the goal is maximum compatibility). This means the 'select airport' and 'position in air' dialogs, principally.  
* places that only need to re-position will use the new ‘reposition' command, which is a simplified version of the current reset (and will become even simpler over time, but for now the goal is maximum compatibility). This means the 'select airport' and 'position in air' dialogs, principally.  
* the reset command will be switched to use the new logic, which is slightly slower than the current logic, but much more complete. It's very close to shutting down the simulator and re-starting; in particular Nasal is restarted, and it should be possible in the near future to toggle between Rembrandt and the classic renderer. (The only UI-path that triggers a reset its the actual menu command / key-shortcut - If anyone knows of some strange way we trigger a reset, please do let me know)
* the reset command will be switched to use the new logic, which is slightly slower than the current logic, but much more complete. It's very close to shutting down the simulator and re-starting; in particular Nasal is restarted, and it should be possible in the near future to toggle between Rembrandt and the classic renderer. (The only UI-path that triggers a reset its the actual menu command / key-shortcut - If anyone knows of some strange way we trigger a reset, please do let me know)
* the "save / restore initial state" logic in globals will be removed, since it will no longer ever be used
* the "save / restore initial state" logic in globals will be removed, since it will no longer ever be used
Line 83: Line 82:
* [https://gitorious.org/fg/flightgear/commit/07e9b48344f9fce117f11e7f6a8c78c4932d9ee0 Preserve current view on reset/reinit/reposition]
* [https://gitorious.org/fg/flightgear/commit/07e9b48344f9fce117f11e7f6a8c78c4932d9ee0 Preserve current view on reset/reinit/reposition]
* [https://gitorious.org/fg/flightgear/commit/8608a480736651999c5ea31a489343ee097ee915 Initial work on dynamic subsystem creation]
* [https://gitorious.org/fg/flightgear/commit/8608a480736651999c5ea31a489343ee097ee915 Initial work on dynamic subsystem creation]
== Remaining Issues ==
* {{Issue|1702}}


== Solution ==
== Solution ==

Navigation menu