diff options
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule/InventoryItem.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/Minimodule/InventoryItem.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/InventoryItem.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/InventoryItem.cs index b9c0065..40693ab 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/InventoryItem.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/InventoryItem.cs | |||
@@ -32,6 +32,7 @@ using OpenSim.Framework; | |||
32 | using OpenSim.Region.Framework.Scenes; | 32 | using OpenSim.Region.Framework.Scenes; |
33 | //using OpenSim.Services.AssetService; | 33 | //using OpenSim.Services.AssetService; |
34 | using OpenMetaverse; | 34 | using OpenMetaverse; |
35 | using OpenMetaverse.Assets; | ||
35 | 36 | ||
36 | namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | 37 | namespace OpenSim.Region.OptionalModules.Scripting.Minimodule |
37 | { | 38 | { |
@@ -80,7 +81,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | |||
80 | public int Type { get { return m_privateItem.Type; } } | 81 | public int Type { get { return m_privateItem.Type; } } |
81 | public UUID AssetID { get { return m_privateItem.AssetID; } } | 82 | public UUID AssetID { get { return m_privateItem.AssetID; } } |
82 | 83 | ||
83 | public T RetreiveAsset<T>() where T : OpenMetaverse.Asset, new() | 84 | public T RetreiveAsset<T>() where T : OpenMetaverse.Assets.Asset, new() |
84 | { | 85 | { |
85 | AssetBase a = m_rootSceene.AssetService.Get(AssetID.ToString()); | 86 | AssetBase a = m_rootSceene.AssetService.Get(AssetID.ToString()); |
86 | T result = new T(); | 87 | T result = new T(); |