aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/UuidGatherer.cs
diff options
context:
space:
mode:
authorBlueWall2011-04-21 15:16:12 -0400
committerBlueWall2011-04-21 15:16:12 -0400
commit5e99d9365148fc6d10633e62efbfcc0ab3beaaca (patch)
tree50f9511dc1a317047d9262e380b64cddbe09ffab /OpenSim/Region/Framework/Scenes/UuidGatherer.cs
parentGroup collada meshies settings under [Mesh] in OpensimDefaults.ini (diff)
parentRemove duplicated freeswitch settings. (diff)
downloadopensim-SC-5e99d9365148fc6d10633e62efbfcc0ab3beaaca.zip
opensim-SC-5e99d9365148fc6d10633e62efbfcc0ab3beaaca.tar.gz
opensim-SC-5e99d9365148fc6d10633e62efbfcc0ab3beaaca.tar.bz2
opensim-SC-5e99d9365148fc6d10633e62efbfcc0ab3beaaca.tar.xz
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/UuidGatherer.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/UuidGatherer.cs18
1 files changed, 14 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/UuidGatherer.cs b/OpenSim/Region/Framework/Scenes/UuidGatherer.cs
index 83906d7..77b1535 100644
--- a/OpenSim/Region/Framework/Scenes/UuidGatherer.cs
+++ b/OpenSim/Region/Framework/Scenes/UuidGatherer.cs
@@ -298,10 +298,20 @@ namespace OpenSim.Region.Framework.Scenes
298 if (null != objectAsset) 298 if (null != objectAsset)
299 { 299 {
300 string xml = Utils.BytesToString(objectAsset.Data); 300 string xml = Utils.BytesToString(objectAsset.Data);
301 SceneObjectGroup sog = SceneObjectSerializer.FromOriginalXmlFormat(xml); 301
302 302 CoalescedSceneObjects coa;
303 if (null != sog) 303 if (CoalescedSceneObjectsSerializer.TryFromXml(xml, out coa))
304 GatherAssetUuids(sog, assetUuids); 304 {
305 foreach (SceneObjectGroup sog in coa.Objects)
306 GatherAssetUuids(sog, assetUuids);
307 }
308 else
309 {
310 SceneObjectGroup sog = SceneObjectSerializer.FromOriginalXmlFormat(xml);
311
312 if (null != sog)
313 GatherAssetUuids(sog, assetUuids);
314 }
305 } 315 }
306 } 316 }
307 317