LSL Protocol/Restrained Life Relay/resetting environment settings

From Second Life Wiki
Jump to navigation Jump to search
Problem
Some objects mess with the environment settings (windlight, resolution). Those changes stay in effect after @clear in the current viewer. While it would be nice if the viewer would undo those changes, it does not at the moment (todo: poke Marine).
Possible Solution
The relay should reset them on release (both !release and if the object is not available anymore). The relay should only do the reset if those settings have been messed with by the world object. Resetting implies going back to the default day-time of the sim with is undesirable in case it is not required.