aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Framework
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-09-02 00:50:16 +0100
committerJustin Clark-Casey (justincc)2011-09-02 00:50:16 +0100
commitaf7c6c5f39dc05dccb891e7bc19ec158de7718a9 (patch)
treedbf235e3c10fd92490ce9b13f4ce92855276c5b8 /OpenSim/Region/CoreModules/Framework
parentMove more of IAM.RezObject() into DoPreRezWhenFromItem() (diff)
downloadopensim-SC-af7c6c5f39dc05dccb891e7bc19ec158de7718a9.zip
opensim-SC-af7c6c5f39dc05dccb891e7bc19ec158de7718a9.tar.gz
opensim-SC-af7c6c5f39dc05dccb891e7bc19ec158de7718a9.tar.bz2
opensim-SC-af7c6c5f39dc05dccb891e7bc19ec158de7718a9.tar.xz
stop passing FromUserInventoryItemID right down into the deserializer.
the code becomes simpler if this is set from the outside - only one place needs to do this.
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework')
-rw-r--r--OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs6
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
index f8515b4..e6b58b3 100644
--- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
@@ -732,8 +732,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
732 XmlElement e = (XmlElement)doc.SelectSingleNode("/CoalescedObject"); 732 XmlElement e = (XmlElement)doc.SelectSingleNode("/CoalescedObject");
733 if (e == null || attachment) // Single 733 if (e == null || attachment) // Single
734 { 734 {
735 SceneObjectGroup g = 735 SceneObjectGroup g = SceneObjectSerializer.FromOriginalXmlFormat(xmlData);
736 SceneObjectSerializer.FromOriginalXmlFormat(UUID.Zero, xmlData);
737 736
738 objlist.Add(g); 737 objlist.Add(g);
739 veclist.Add(new Vector3(0, 0, 0)); 738 veclist.Add(new Vector3(0, 0, 0));
@@ -762,8 +761,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
762 XmlNodeList groups = e.SelectNodes("SceneObjectGroup"); 761 XmlNodeList groups = e.SelectNodes("SceneObjectGroup");
763 foreach (XmlNode n in groups) 762 foreach (XmlNode n in groups)
764 { 763 {
765 SceneObjectGroup g = 764 SceneObjectGroup g = SceneObjectSerializer.FromOriginalXmlFormat(n.OuterXml);
766 SceneObjectSerializer.FromOriginalXmlFormat(UUID.Zero, n.OuterXml);
767 765
768 objlist.Add(g); 766 objlist.Add(g);
769 XmlElement el = (XmlElement)n; 767 XmlElement el = (XmlElement)n;