[FIRE-35024] - Store always run flag on exit and restore when logging in #60
+63
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added new optional flag to restore the Always Run flag on login based on the value at exit. This is based on the existing Always Fly flag.
Also added new checkbox to use the flag on login or not (Default) in the Preferences->Move & View->Movement panel labeled "Restore Always Run on login" and store the value in as an additional flag in the settings.xml file.
Showing the new checkbox option. Now when you have Always Run enabled at logout, when you login again, it is set.
Change Summary:
Added two new persist values to settings.xml, FSRestoreAlwaysRunAtExit and FSAlwaysRunAtExit.
Added new checkbox to panel_preferences_move.xml FSRestoreAlwaysRunAtExit, used to enable/disable the use of the AlwaysRunAtExit setting.
Updated llappviewer to save the current always run value on disconnectviewer and to default to false on NonInteractive init.
Updated llagent to restore the always run flag only if the FSRestoreAlwaysRunAtExit flag is set by the user.