diff options
Diffstat (limited to 'OpenSim/Grid/AssetServer')
-rw-r--r-- | OpenSim/Grid/AssetServer/Main.cs | 6 | ||||
-rw-r--r-- | OpenSim/Grid/AssetServer/RestService.cs | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Grid/AssetServer/Main.cs b/OpenSim/Grid/AssetServer/Main.cs index 6d46048..bded875 100644 --- a/OpenSim/Grid/AssetServer/Main.cs +++ b/OpenSim/Grid/AssetServer/Main.cs | |||
@@ -28,7 +28,7 @@ | |||
28 | using System; | 28 | using System; |
29 | using System.IO; | 29 | using System.IO; |
30 | using System.Reflection; | 30 | using System.Reflection; |
31 | using libsecondlife; | 31 | using OpenMetaverse; |
32 | using log4net; | 32 | using log4net; |
33 | using log4net.Config; | 33 | using log4net.Config; |
34 | using OpenSim.Framework; | 34 | using OpenSim.Framework; |
@@ -108,7 +108,7 @@ namespace OpenSim.Grid.AssetServer | |||
108 | m_httpServer.AddStreamHandler(new PostAssetStreamHandler(this, m_assetProvider)); | 108 | m_httpServer.AddStreamHandler(new PostAssetStreamHandler(this, m_assetProvider)); |
109 | } | 109 | } |
110 | 110 | ||
111 | public byte[] GetAssetData(LLUUID assetID, bool isTexture) | 111 | public byte[] GetAssetData(UUID assetID, bool isTexture) |
112 | { | 112 | { |
113 | return null; | 113 | return null; |
114 | } | 114 | } |
@@ -119,7 +119,7 @@ namespace OpenSim.Grid.AssetServer | |||
119 | new PluginLoader<IAssetProviderPlugin> (new AssetDataInitialiser (connect)); | 119 | new PluginLoader<IAssetProviderPlugin> (new AssetDataInitialiser (connect)); |
120 | 120 | ||
121 | // loader will try to load all providers (MySQL, MSSQL, etc) | 121 | // loader will try to load all providers (MySQL, MSSQL, etc) |
122 | // unless it is constrainted to the correct "Provider" entry in the addin.xml | 122 | // unless it is constrainted to the correct "Provider" entry in the addin.Xml |
123 | loader.Add ("/OpenSim/AssetData", new PluginProviderFilter (provider)); | 123 | loader.Add ("/OpenSim/AssetData", new PluginProviderFilter (provider)); |
124 | loader.Load(); | 124 | loader.Load(); |
125 | 125 | ||
diff --git a/OpenSim/Grid/AssetServer/RestService.cs b/OpenSim/Grid/AssetServer/RestService.cs index f63b78b..457142f 100644 --- a/OpenSim/Grid/AssetServer/RestService.cs +++ b/OpenSim/Grid/AssetServer/RestService.cs | |||
@@ -32,7 +32,7 @@ using System.Reflection; | |||
32 | using System.Text; | 32 | using System.Text; |
33 | using System.Xml; | 33 | using System.Xml; |
34 | using System.Xml.Serialization; | 34 | using System.Xml.Serialization; |
35 | using libsecondlife; | 35 | using OpenMetaverse; |
36 | using log4net; | 36 | using log4net; |
37 | using OpenSim.Framework; | 37 | using OpenSim.Framework; |
38 | using OpenSim.Framework.Servers; | 38 | using OpenSim.Framework.Servers; |
@@ -70,9 +70,9 @@ namespace OpenSim.Grid.AssetServer | |||
70 | 70 | ||
71 | if (p.Length > 0) | 71 | if (p.Length > 0) |
72 | { | 72 | { |
73 | LLUUID assetID = null; | 73 | UUID assetID = null; |
74 | 74 | ||
75 | if (!LLUUID.TryParse(p[0], out assetID)) | 75 | if (!UUID.TryParse(p[0], out assetID)) |
76 | { | 76 | { |
77 | m_log.InfoFormat( | 77 | m_log.InfoFormat( |
78 | "[REST]: GET:/asset ignoring request with malformed UUID {0}", p[0]); | 78 | "[REST]: GET:/asset ignoring request with malformed UUID {0}", p[0]); |
@@ -128,9 +128,9 @@ namespace OpenSim.Grid.AssetServer | |||
128 | { | 128 | { |
129 | string param = GetParam(path); | 129 | string param = GetParam(path); |
130 | 130 | ||
131 | LLUUID assetId; | 131 | UUID assetId; |
132 | if (param.Length > 0) | 132 | if (param.Length > 0) |
133 | LLUUID.TryParse(param, out assetId); | 133 | UUID.TryParse(param, out assetId); |
134 | // byte[] txBuffer = new byte[4096]; | 134 | // byte[] txBuffer = new byte[4096]; |
135 | 135 | ||
136 | XmlSerializer xs = new XmlSerializer(typeof (AssetBase)); | 136 | XmlSerializer xs = new XmlSerializer(typeof (AssetBase)); |