mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
When LightShare is enabled, the standard day cycle is bypassed and replaced by
midday defaults when no specific LightShare profile is set. This prevents LightShare info being send out when the region has no LightShare profile, allowing normal day/night cycles to happen.
This commit is contained in:
@@ -455,6 +455,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
if (LightShareModule.EnableWindlight)
|
||||
{
|
||||
RegionLightShareData wl = getWindlightProfileFromRules(rules);
|
||||
wl.valid = true;
|
||||
m_host.ParentGroup.Scene.StoreWindlightProfile(wl);
|
||||
success = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user