From a0d80140f2d0ad6dd63970a3a3d5c0da8320ae75 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Fri, 15 Apr 2011 00:42:06 +0100
Subject: Make all the objects in a coalescence reappears after being loaded
from an IAR. This still doesn't work proprerly since some required
textures/contained item assets might be missing.
From pure code inspection, it looks like the uuid gatherer may get most asset uuids because the scene object serializer naively pulls non-root parts from all contained scene objects into one mega-object. However, root part uuids may well still be missing, and there may be other odd artifacts from this bug.
It appears that storing the size of the coalescence and the offsets is redundant, since one can work out this information from the position data already in the scene object groups.
---
OpenSim/Services/Interfaces/IAssetService.cs | 5 +++++
1 file changed, 5 insertions(+)
(limited to 'OpenSim/Services/Interfaces/IAssetService.cs')
diff --git a/OpenSim/Services/Interfaces/IAssetService.cs b/OpenSim/Services/Interfaces/IAssetService.cs
index 3be6815..1ac1cec 100644
--- a/OpenSim/Services/Interfaces/IAssetService.cs
+++ b/OpenSim/Services/Interfaces/IAssetService.cs
@@ -48,6 +48,11 @@ namespace OpenSim.Services.Interfaces
///
AssetMetadata GetMetadata(string id);
+ ///
+ /// Get an asset's data, ignoring the metadata.
+ ///
+ ///
+ /// null if there is no such asset
byte[] GetData(string id);
///
--
cgit v1.1