Legacy noon transition fix

master
Beq 2024-12-28 18:47:47 +00:00
parent a1e7da8f8f
commit 3343db677d
1 changed files with 6 additions and 2 deletions

View File

@ -11737,8 +11737,12 @@ class LLWorldEnvSettings : public view_listener_t
}
else if (event_name == "legacy noon")
{
LLEnvironment::instance().setEnvironment(LLEnvironment::ENV_LOCAL, LLEnvironment::KNOWN_SKY_LEGACY_MIDDAY, LLEnvironment::TRANSITION_INSTANT);
LLEnvironment::instance().setSelectedEnvironment(LLEnvironment::ENV_LOCAL, LLEnvironment::TRANSITION_INSTANT);
// <FS:Beq> Add legacy noon to the manually selected environments that can have a user defined transition time.
// LLEnvironment::instance().setEnvironment(LLEnvironment::ENV_LOCAL, LLEnvironment::KNOWN_SKY_LEGACY_MIDDAY, LLEnvironment::TRANSITION_INSTANT);
// LLEnvironment::instance().setSelectedEnvironment(LLEnvironment::ENV_LOCAL, LLEnvironment::TRANSITION_INSTANT);
LLEnvironment::instance().setEnvironment(LLEnvironment::ENV_LOCAL, LLEnvironment::KNOWN_SKY_LEGACY_MIDDAY);
LLEnvironment::instance().setSelectedEnvironment(LLEnvironment::ENV_LOCAL);
// </FS:Beq>
defocusEnvFloaters();
}
else if (event_name == "sunset")