diff options
author | Justin Clark-Casey (justincc) | 2012-02-03 23:48:12 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-02-03 23:48:12 +0000 |
commit | 2b6c5fcb3115fa6b963a536f34bd4a4a1a64c598 (patch) | |
tree | 95acd2d2fc13dd77637549d8ce1f0ba78d4eb10d /OpenSim/Framework | |
parent | Change SceneObjectSerializer to use common ExternalRepresentationUtils.Execut... (diff) | |
parent | Merge branch 'master' of ssh://snoopy@opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-2b6c5fcb3115fa6b963a536f34bd4a4a1a64c598.zip opensim-SC_OLD-2b6c5fcb3115fa6b963a536f34bd4a4a1a64c598.tar.gz opensim-SC_OLD-2b6c5fcb3115fa6b963a536f34bd4a4a1a64c598.tar.bz2 opensim-SC_OLD-2b6c5fcb3115fa6b963a536f34bd4a4a1a64c598.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/IClientAPI.cs | 2 | ||||
-rw-r--r-- | OpenSim/Framework/RegionSettings.cs | 10 | ||||
-rw-r--r-- | OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs | 4 |
3 files changed, 12 insertions, 4 deletions
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index dd3e656..c85e599 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs | |||
@@ -1235,7 +1235,7 @@ namespace OpenSim.Framework | |||
1235 | void SendEstateCovenantInformation(UUID covenant); | 1235 | void SendEstateCovenantInformation(UUID covenant); |
1236 | 1236 | ||
1237 | void SendDetailedEstateData(UUID invoice, string estateName, uint estateID, uint parentEstate, uint estateFlags, | 1237 | void SendDetailedEstateData(UUID invoice, string estateName, uint estateID, uint parentEstate, uint estateFlags, |
1238 | uint sunPosition, UUID covenant, string abuseEmail, UUID estateOwner); | 1238 | uint sunPosition, UUID covenant, uint covenantChanged, string abuseEmail, UUID estateOwner); |
1239 | 1239 | ||
1240 | /// <summary> | 1240 | /// <summary> |
1241 | /// Send land properties to the client. | 1241 | /// Send land properties to the client. |
diff --git a/OpenSim/Framework/RegionSettings.cs b/OpenSim/Framework/RegionSettings.cs index 91e07df..4ce3392 100644 --- a/OpenSim/Framework/RegionSettings.cs +++ b/OpenSim/Framework/RegionSettings.cs | |||
@@ -413,6 +413,14 @@ namespace OpenSim.Framework | |||
413 | set { m_Covenant = value; } | 413 | set { m_Covenant = value; } |
414 | } | 414 | } |
415 | 415 | ||
416 | private int m_CovenantChanged = 0; | ||
417 | |||
418 | public int CovenantChangedDateTime | ||
419 | { | ||
420 | get { return m_CovenantChanged; } | ||
421 | set { m_CovenantChanged = value; } | ||
422 | } | ||
423 | |||
416 | private int m_LoadedCreationDateTime; | 424 | private int m_LoadedCreationDateTime; |
417 | public int LoadedCreationDateTime | 425 | public int LoadedCreationDateTime |
418 | { | 426 | { |
@@ -492,4 +500,4 @@ namespace OpenSim.Framework | |||
492 | l_SpawnPoints.Clear(); | 500 | l_SpawnPoints.Clear(); |
493 | } | 501 | } |
494 | } | 502 | } |
495 | } | 503 | } \ No newline at end of file |
diff --git a/OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs b/OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs index f6fdc4b..57da7ca 100644 --- a/OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs +++ b/OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs | |||
@@ -279,14 +279,14 @@ namespace OpenSim.Framework.Serialization.External | |||
279 | writer.WriteEndElement(); | 279 | writer.WriteEndElement(); |
280 | if (options.ContainsKey("creators") && inventoryItem.CreatorData != null && inventoryItem.CreatorData != string.Empty) | 280 | if (options.ContainsKey("creators") && inventoryItem.CreatorData != null && inventoryItem.CreatorData != string.Empty) |
281 | writer.WriteElementString("CreatorData", inventoryItem.CreatorData); | 281 | writer.WriteElementString("CreatorData", inventoryItem.CreatorData); |
282 | else if (options.ContainsKey("profile")) | 282 | else if (options.ContainsKey("home")) |
283 | { | 283 | { |
284 | if (userAccountService != null) | 284 | if (userAccountService != null) |
285 | { | 285 | { |
286 | UserAccount account = userAccountService.GetUserAccount(UUID.Zero, inventoryItem.CreatorIdAsUuid); | 286 | UserAccount account = userAccountService.GetUserAccount(UUID.Zero, inventoryItem.CreatorIdAsUuid); |
287 | if (account != null) | 287 | if (account != null) |
288 | { | 288 | { |
289 | writer.WriteElementString("CreatorData", (string)options["profile"] + "/" + inventoryItem.CreatorIdAsUuid + ";" + account.FirstName + " " + account.LastName); | 289 | writer.WriteElementString("CreatorData", (string)options["home"] + "/" + inventoryItem.CreatorIdAsUuid + ";" + account.FirstName + " " + account.LastName); |
290 | } | 290 | } |
291 | writer.WriteElementString("CreatorID", inventoryItem.CreatorId); | 291 | writer.WriteElementString("CreatorID", inventoryItem.CreatorId); |
292 | } | 292 | } |