diff options
Diffstat (limited to 'OpenSim/ApplicationPlugins/Rest/Inventory/RestAssetServices.cs')
-rw-r--r-- | OpenSim/ApplicationPlugins/Rest/Inventory/RestAssetServices.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/ApplicationPlugins/Rest/Inventory/RestAssetServices.cs b/OpenSim/ApplicationPlugins/Rest/Inventory/RestAssetServices.cs index 1b94741..9d34b4e 100644 --- a/OpenSim/ApplicationPlugins/Rest/Inventory/RestAssetServices.cs +++ b/OpenSim/ApplicationPlugins/Rest/Inventory/RestAssetServices.cs | |||
@@ -25,7 +25,7 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using libsecondlife; | 28 | using OpenMetaverse; |
29 | using Nini.Config; | 29 | using Nini.Config; |
30 | using System; | 30 | using System; |
31 | using System.Collections.Generic; | 31 | using System.Collections.Generic; |
@@ -190,12 +190,12 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory | |||
190 | 190 | ||
191 | Rest.Log.DebugFormat("{0} REST Asset handler, Method = <{1}> ENTRY", MsgId, rdata.method); | 191 | Rest.Log.DebugFormat("{0} REST Asset handler, Method = <{1}> ENTRY", MsgId, rdata.method); |
192 | 192 | ||
193 | // The only parameter we accept is an LLUUID for | 193 | // The only parameter we accept is an UUID for |
194 | // the asset | 194 | // the asset |
195 | 195 | ||
196 | if (rdata.Parameters.Length == 1) | 196 | if (rdata.Parameters.Length == 1) |
197 | { | 197 | { |
198 | LLUUID uuid = new LLUUID(rdata.Parameters[0]); | 198 | UUID uuid = new UUID(rdata.Parameters[0]); |
199 | AssetBase asset = Rest.AssetServices.GetAsset(uuid, istexture); | 199 | AssetBase asset = Rest.AssetServices.GetAsset(uuid, istexture); |
200 | 200 | ||
201 | if (asset != null) | 201 | if (asset != null) |
@@ -233,7 +233,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory | |||
233 | { | 233 | { |
234 | Rest.Log.DebugFormat("{0} REST Asset handler, Method = <{1}> ENTRY", MsgId, rdata.method); | 234 | Rest.Log.DebugFormat("{0} REST Asset handler, Method = <{1}> ENTRY", MsgId, rdata.method); |
235 | 235 | ||
236 | // The only parameter we accept is an LLUUID for | 236 | // The only parameter we accept is an UUID for |
237 | // the asset | 237 | // the asset |
238 | 238 | ||
239 | if (rdata.Parameters.Length == 1) | 239 | if (rdata.Parameters.Length == 1) |