diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World/Sun')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Sun/SunModule.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Sun/SunModule.cs b/OpenSim/Region/Environment/Modules/World/Sun/SunModule.cs index f73c193..5682de3 100644 --- a/OpenSim/Region/Environment/Modules/World/Sun/SunModule.cs +++ b/OpenSim/Region/Environment/Modules/World/Sun/SunModule.cs | |||
@@ -301,7 +301,7 @@ namespace OpenSim.Region.Environment.Modules | |||
301 | } | 301 | } |
302 | 302 | ||
303 | // set estate settings for region access to sun position | 303 | // set estate settings for region access to sun position |
304 | m_scene.RegionInfo.EstateSettings.sunPosition = Position; | 304 | m_scene.RegionInfo.RegionSettings.SunVector = Position; |
305 | //m_scene.RegionInfo.EstateSettings.sunHour = GetLindenEstateHourFromCurrentTime(); | 305 | //m_scene.RegionInfo.EstateSettings.sunHour = GetLindenEstateHourFromCurrentTime(); |
306 | } | 306 | } |
307 | public void ForceSunUpdateToAllClients() | 307 | public void ForceSunUpdateToAllClients() |
@@ -316,8 +316,8 @@ namespace OpenSim.Region.Environment.Modules | |||
316 | } | 316 | } |
317 | 317 | ||
318 | // set estate settings for region access to sun position | 318 | // set estate settings for region access to sun position |
319 | m_scene.RegionInfo.EstateSettings.sunPosition = Position; | 319 | m_scene.RegionInfo.RegionSettings.SunVector = Position; |
320 | m_scene.RegionInfo.EstateSettings.sunHour = GetLindenEstateHourFromCurrentTime(); | 320 | m_scene.RegionInfo.RegionSettings.SunPosition = GetLindenEstateHourFromCurrentTime(); |
321 | } | 321 | } |
322 | /// <summary> | 322 | /// <summary> |
323 | /// Calculate the sun's orbital position and its velocity. | 323 | /// Calculate the sun's orbital position and its velocity. |