Esri / dynamic-situational-awareness-qt

Dynamic Situational Awareness Qt
Apache License 2.0
53 stars 22 forks source link

Initial Location is written out on each scene switch. #350

Closed anmacdonald closed 3 years ago

anmacdonald commented 3 years ago

InitialLocation is once again written out on startup, and with the addtion of MSPK support whenever the scene changes. The workflow is as follows:

  1. User starts up app with no default config file. Immediately the default config will be written out which contains the Monterey location.
  2. The user clicks "Open -> Package name -> Scene in Package." The Scene loads.
    • The camera is placed at the loaded scene's initialLocation, the config file's initial location is changed to match.
  3. The user closes the app.
  4. The user reopens the app and the previous scene is loaded at the initial location in the config file, which matches the scene's.
  5. The user closes the app again and manually updates the config file's initial location to Greenland.
  6. The user loads the app. The scene is loaded and the camera is placed in Greenland.
  7. The user clicks Open -> Reset to Default Scene.
  8. The default scene is loaded. The camera is placed in Monterey. The config file is changed to Monterey.