#262 Ambient light setting not restored correctly on launch

open
Pat Suwalski
UI - GTK (6)
5
2013-09-25
2012-09-09
Travis Evans
No

Celestia 1.6.1 on Arch Linux. When setting Ambient Light to None, the setting is not remembered when Celestia is started again. It reverts back to Low.
Looking at the ~/.celestiarc, the setting appears to be saved but just not restored. Strangely, other ambient light settings seem to be restored, but not 0 (“None”).

Discussion

  • Travis Evans
    Travis Evans
    2013-09-25

    Just for the heck of it, here's a patch that seems to fix the issue.