diff options
author | Melanie | 2012-01-12 17:52:29 +0000 |
---|---|---|
committer | Melanie | 2012-01-12 17:52:29 +0000 |
commit | 4492bc1bcd055ab5b6f187612462b14b6494fea9 (patch) | |
tree | 168e808c3931efc0e05f05ae60aafda6f0a4e946 /OpenSim/Region/Framework | |
parent | Remove ViewObjectInventory method unsupported by core (diff) | |
parent | Allow update of stored entries within User Management Module-this is needed f... (diff) | |
download | opensim-SC-4492bc1bcd055ab5b6f187612462b14b6494fea9.zip opensim-SC-4492bc1bcd055ab5b6f187612462b14b6494fea9.tar.gz opensim-SC-4492bc1bcd055ab5b6f187612462b14b6494fea9.tar.bz2 opensim-SC-4492bc1bcd055ab5b6f187612462b14b6494fea9.tar.xz |
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 4 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index c45cfb8..193ef0d 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -405,7 +405,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
405 | 405 | ||
406 | private string m_creatorData = string.Empty; | 406 | private string m_creatorData = string.Empty; |
407 | /// <summary> | 407 | /// <summary> |
408 | /// Data about the creator in the form profile_url;name | 408 | /// Data about the creator in the form home_url;name |
409 | /// </summary> | 409 | /// </summary> |
410 | public string CreatorData | 410 | public string CreatorData |
411 | { | 411 | { |
@@ -416,7 +416,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
416 | /// <summary> | 416 | /// <summary> |
417 | /// Used by the DB layer to retrieve / store the entire user identification. | 417 | /// Used by the DB layer to retrieve / store the entire user identification. |
418 | /// The identification can either be a simple UUID or a string of the form | 418 | /// The identification can either be a simple UUID or a string of the form |
419 | /// uuid[;profile_url[;name]] | 419 | /// uuid[;home_url[;name]] |
420 | /// </summary> | 420 | /// </summary> |
421 | public string CreatorIdentification | 421 | public string CreatorIdentification |
422 | { | 422 | { |
diff --git a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs index 3f24991..c776fa5 100644 --- a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs +++ b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs | |||
@@ -54,7 +54,7 @@ namespace OpenSim.Region.Framework.Scenes.Serialization | |||
54 | /// Deserialize a scene object from the original xml format | 54 | /// Deserialize a scene object from the original xml format |
55 | /// </summary> | 55 | /// </summary> |
56 | /// <param name="xmlData"></param> | 56 | /// <param name="xmlData"></param> |
57 | /// <returns></returns> | 57 | /// <returns>The scene object deserialized. Null on failure.</returns> |
58 | public static SceneObjectGroup FromOriginalXmlFormat(string xmlData) | 58 | public static SceneObjectGroup FromOriginalXmlFormat(string xmlData) |
59 | { | 59 | { |
60 | //m_log.DebugFormat("[SOG]: Starting deserialization of SOG"); | 60 | //m_log.DebugFormat("[SOG]: Starting deserialization of SOG"); |
@@ -1147,12 +1147,12 @@ namespace OpenSim.Region.Framework.Scenes.Serialization | |||
1147 | 1147 | ||
1148 | if (sop.CreatorData != null && sop.CreatorData != string.Empty) | 1148 | if (sop.CreatorData != null && sop.CreatorData != string.Empty) |
1149 | writer.WriteElementString("CreatorData", sop.CreatorData); | 1149 | writer.WriteElementString("CreatorData", sop.CreatorData); |
1150 | else if (options.ContainsKey("profile")) | 1150 | else if (options.ContainsKey("home")) |
1151 | { | 1151 | { |
1152 | if (m_UserManagement == null) | 1152 | if (m_UserManagement == null) |
1153 | m_UserManagement = sop.ParentGroup.Scene.RequestModuleInterface<IUserManagement>(); | 1153 | m_UserManagement = sop.ParentGroup.Scene.RequestModuleInterface<IUserManagement>(); |
1154 | string name = m_UserManagement.GetUserName(sop.CreatorID); | 1154 | string name = m_UserManagement.GetUserName(sop.CreatorID); |
1155 | writer.WriteElementString("CreatorData", (string)options["profile"] + "/" + sop.CreatorID + ";" + name); | 1155 | writer.WriteElementString("CreatorData", (string)options["home"] + ";" + name); |
1156 | } | 1156 | } |
1157 | 1157 | ||
1158 | WriteUUID(writer, "FolderID", sop.FolderID, options); | 1158 | WriteUUID(writer, "FolderID", sop.FolderID, options); |
@@ -1298,12 +1298,12 @@ namespace OpenSim.Region.Framework.Scenes.Serialization | |||
1298 | 1298 | ||
1299 | if (item.CreatorData != null && item.CreatorData != string.Empty) | 1299 | if (item.CreatorData != null && item.CreatorData != string.Empty) |
1300 | writer.WriteElementString("CreatorData", item.CreatorData); | 1300 | writer.WriteElementString("CreatorData", item.CreatorData); |
1301 | else if (options.ContainsKey("profile")) | 1301 | else if (options.ContainsKey("home")) |
1302 | { | 1302 | { |
1303 | if (m_UserManagement == null) | 1303 | if (m_UserManagement == null) |
1304 | m_UserManagement = scene.RequestModuleInterface<IUserManagement>(); | 1304 | m_UserManagement = scene.RequestModuleInterface<IUserManagement>(); |
1305 | string name = m_UserManagement.GetUserName(item.CreatorID); | 1305 | string name = m_UserManagement.GetUserName(item.CreatorID); |
1306 | writer.WriteElementString("CreatorData", (string)options["profile"] + "/" + item.CreatorID + ";" + name); | 1306 | writer.WriteElementString("CreatorData", (string)options["home"] + ";" + name); |
1307 | } | 1307 | } |
1308 | 1308 | ||
1309 | writer.WriteElementString("Description", item.Description); | 1309 | writer.WriteElementString("Description", item.Description); |