aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting/Minimodule/InventoryItem.cs
diff options
context:
space:
mode:
authorAdam Frisby2009-08-07 14:17:51 +1000
committerAdam Frisby2009-08-07 14:17:51 +1000
commit270ae50d700831ac996025045dc32341d68ee0f9 (patch)
tree590006ed8571195275f4bfce26fb6131a4b30d94 /OpenSim/Region/OptionalModules/Scripting/Minimodule/InventoryItem.cs
parentMerge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim (diff)
downloadopensim-SC-270ae50d700831ac996025045dc32341d68ee0f9.zip
opensim-SC-270ae50d700831ac996025045dc32341d68ee0f9.tar.gz
opensim-SC-270ae50d700831ac996025045dc32341d68ee0f9.tar.bz2
opensim-SC-270ae50d700831ac996025045dc32341d68ee0f9.tar.xz
* Implements MRM's Stop() interface member.
* MRM Scripts should do appropriate cleanup within this event, to allow for clean shutdowns and script updates. This means unbinding from events you are listening to, and releasing any resources.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/Minimodule/InventoryItem.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/InventoryItem.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/InventoryItem.cs
index 40693ab..5bf29d7 100644
--- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/InventoryItem.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/InventoryItem.cs
@@ -81,6 +81,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
81 public int Type { get { return m_privateItem.Type; } } 81 public int Type { get { return m_privateItem.Type; } }
82 public UUID AssetID { get { return m_privateItem.AssetID; } } 82 public UUID AssetID { get { return m_privateItem.AssetID; } }
83 83
84 // This method exposes OpenSim/OpenMetaverse internals and needs to be replaced with a IAsset specific to MRM.
84 public T RetreiveAsset<T>() where T : OpenMetaverse.Assets.Asset, new() 85 public T RetreiveAsset<T>() where T : OpenMetaverse.Assets.Asset, new()
85 { 86 {
86 AssetBase a = m_rootSceene.AssetService.Get(AssetID.ToString()); 87 AssetBase a = m_rootSceene.AssetService.Get(AssetID.ToString());