diff options
author | Melanie | 2012-02-04 11:48:20 +0000 |
---|---|---|
committer | Melanie | 2012-02-04 11:48:20 +0000 |
commit | ce5e900721cb0447f76bcb198faf5f7c31eeaf6e (patch) | |
tree | c906a2b8858f9c590e39e2a26f47017fd7b6b9c6 /OpenSim/Region/CoreModules/World | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Add default value to TelehubObject (diff) | |
download | opensim-SC_OLD-ce5e900721cb0447f76bcb198faf5f7c31eeaf6e.zip opensim-SC_OLD-ce5e900721cb0447f76bcb198faf5f7c31eeaf6e.tar.gz opensim-SC_OLD-ce5e900721cb0447f76bcb198faf5f7c31eeaf6e.tar.bz2 opensim-SC_OLD-ce5e900721cb0447f76bcb198faf5f7c31eeaf6e.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Data/MySQL/Resources/RegionStore.migrations
OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
Diffstat (limited to 'OpenSim/Region/CoreModules/World')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Archiver/AssetsRequest.cs | 4 | ||||
-rw-r--r-- | OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/World/Archiver/AssetsRequest.cs b/OpenSim/Region/CoreModules/World/Archiver/AssetsRequest.cs index 900260d..7b872b9 100644 --- a/OpenSim/Region/CoreModules/World/Archiver/AssetsRequest.cs +++ b/OpenSim/Region/CoreModules/World/Archiver/AssetsRequest.cs | |||
@@ -306,10 +306,10 @@ namespace OpenSim.Region.CoreModules.World.Archiver | |||
306 | 306 | ||
307 | protected AssetBase PostProcess(AssetBase asset) | 307 | protected AssetBase PostProcess(AssetBase asset) |
308 | { | 308 | { |
309 | if (asset.Type == (sbyte)AssetType.Object && asset.Data != null && m_options.ContainsKey("profile")) | 309 | if (asset.Type == (sbyte)AssetType.Object && asset.Data != null && m_options.ContainsKey("home")) |
310 | { | 310 | { |
311 | //m_log.DebugFormat("[ARCHIVER]: Rewriting object data for {0}", asset.ID); | 311 | //m_log.DebugFormat("[ARCHIVER]: Rewriting object data for {0}", asset.ID); |
312 | string xml = ExternalRepresentationUtils.RewriteSOP(Utils.BytesToString(asset.Data), m_options["profile"].ToString(), m_userAccountService, m_scopeID); | 312 | string xml = ExternalRepresentationUtils.RewriteSOP(Utils.BytesToString(asset.Data), m_options["home"].ToString(), m_userAccountService, m_scopeID); |
313 | asset.Data = Utils.StringToBytes(xml); | 313 | asset.Data = Utils.StringToBytes(xml); |
314 | } | 314 | } |
315 | return asset; | 315 | return asset; |
diff --git a/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs b/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs index d5e3314..35f47d2 100644 --- a/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs | |||
@@ -88,6 +88,7 @@ namespace OpenSim.Region.CoreModules.World.Estate | |||
88 | GetEstateFlags(), | 88 | GetEstateFlags(), |
89 | sun, | 89 | sun, |
90 | Scene.RegionInfo.RegionSettings.Covenant, | 90 | Scene.RegionInfo.RegionSettings.Covenant, |
91 | (uint) Scene.RegionInfo.RegionSettings.CovenantChangedDateTime, | ||
91 | Scene.RegionInfo.EstateSettings.AbuseEmail, | 92 | Scene.RegionInfo.EstateSettings.AbuseEmail, |
92 | estateOwner); | 93 | estateOwner); |
93 | } | 94 | } |
@@ -285,6 +286,7 @@ namespace OpenSim.Region.CoreModules.World.Estate | |||
285 | // remoteClient.Name, estateCovenantID); | 286 | // remoteClient.Name, estateCovenantID); |
286 | 287 | ||
287 | Scene.RegionInfo.RegionSettings.Covenant = estateCovenantID; | 288 | Scene.RegionInfo.RegionSettings.Covenant = estateCovenantID; |
289 | Scene.RegionInfo.RegionSettings.CovenantChangedDateTime = Util.UnixTimeSinceEpoch(); | ||
288 | Scene.RegionInfo.RegionSettings.Save(); | 290 | Scene.RegionInfo.RegionSettings.Save(); |
289 | TriggerRegionInfoChange(); | 291 | TriggerRegionInfoChange(); |
290 | } | 292 | } |