diff options
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | 6 |
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; |