aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lightshare.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-04-04More Windlight refactoring, including moving the new stuff back to lightshare.c.David Walter Seikel1-5/+205
What works seems to work fine. Still more work to do, but I might punt some of it to 1.5.
2012-04-03Revert the fix for http://redmine.kokuaviewer.org/issues/415 as it will be ↵David Walter Seikel1-5/+2
fixed in a more future proof way on the next commit.
2012-04-02Merge a bunch of duplicated Windlight sharing code.David Walter Seikel1-73/+48
2011-12-29Support the new WindlightReset message from OpenSim for resetting Windlight ↵David Walter Seikel1-5/+47
presets when leaving a sim that uses Lightshare. Note, this windlight and lighthshare stuff needs a refactoring. The (I think LL inspired) Windlight CAPS duplicates a lot of this code. Still should backup any WL changes that have not been stored in a preset to. Some cleanup to do as well. That's why there is some excess cruft added with this commit, part way through implementing some of the above.
2010-08-28fix leak if lightshare message not validArmin Weatherwax1-5/+10
2010-08-28tx Oh: fix bug #415 lightshare update not fluentlyArmin Weatherwax1-2/+6
2010-08-26fix leak if lightshare message not validArmin Weatherwax1-5/+10
2010-08-26tx Oh: fix bug #415 lightshare update not fluentlyArmin Weatherwax1-2/+6
2010-08-07Use the correct setting name for LightShare.Jacek Antonelli1-3/+3
2010-08-03Use the correct setting name for LightShare.Jacek Antonelli1-3/+3
2010-08-01Revamped the LightShare option in Preferences > Advanced.Jacek Antonelli1-5/+7
Instead of a checkbox, it's now a combo box with "Never", "Ask me every time", or "Always".
2010-08-01Get user confirmation even when using default Windlight settings.Jacek Antonelli1-4/+3
This might be end up being a bit annoying, but it limits the potential for abuse (e.g. a bad script that cycles between light and dark could trigger seizures in some users, and sheer annoyance in the rest). We may want to add region whitelists and blacklists later.
2010-08-01Tidied up and documented lightshare.cpp and lightshare.h.Jacek Antonelli1-15/+11
2010-08-01Added notification option to ignore all LightShare until you change regions.Jacek Antonelli1-6/+31
2010-08-01Restructured WindlightMessage::processWindlight().Jacek Antonelli1-43/+48
2010-08-01Added a timer after ignoring LightShare settings.Jacek Antonelli1-1/+30
If you ignore a LightShare setting, all settings for the next 30 seconds will be ignored. The timer resets each time a new message is ignored. Customize with LightShareIgnoreTimer in Debug Settings.
2010-08-01Don't spam user with ConfirmLightShare notifications.Jacek Antonelli1-8/+25
Now only one notification is created, but the class remembers the most recent settings and discards the old ones.
2010-08-01Added confirmation dialog before applying LightShare settings.Jacek Antonelli1-3/+34
If you are using a preset other than the default preset or the LightShare preset, the viewer will now ask you whether to apply settings received from the server.
2010-08-01Refactored a bunch of messy LightShare code.Jacek Antonelli1-0/+302