- added : readded a "Revert to Region Default" option to the World / Sun submenu
--HG-- branch : RLVameow-7.2.2
parent
e8d4c2f5f0
commit
6add68046f
|
|
@ -7998,6 +7998,12 @@ class LLWorldEnvSettings : public view_listener_t
|
|||
{
|
||||
LLEnvManagerNew::instance().setUseSkyPreset("Midnight");
|
||||
}
|
||||
// [RLVa:KB] - Checked: 2011-09-03 (RLVa-1.4.1a) | Added: RLVa-1.4.1a
|
||||
else if ("default" == tod)
|
||||
{
|
||||
LLEnvManagerNew::instance().setUseRegionSettings(true);
|
||||
}
|
||||
// [/RLVa:KB]
|
||||
else
|
||||
{
|
||||
LLEnvManagerNew::instance().setUseDayCycle(LLEnvManagerNew::instance().getDayCycleName());
|
||||
|
|
|
|||
|
|
@ -515,6 +515,14 @@
|
|||
function="World.EnvSettings"
|
||||
parameter="midnight" />
|
||||
</menu_item_call>
|
||||
<menu_item_separator/>
|
||||
<menu_item_call
|
||||
label="Estate Time"
|
||||
name="Revert to Region Default">
|
||||
<menu_item_call.on_click
|
||||
function="World.EnvSettings"
|
||||
parameter="default" />
|
||||
</menu_item_call>
|
||||
</menu>
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue