diff options
author | Justin Clarke Casey | 2008-11-25 16:47:50 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-11-25 16:47:50 +0000 |
commit | 6caebb6c932c6404e3e07aab43ae9ae21edfffde (patch) | |
tree | c8cc94bbd934c50e2c91d633e3f12676e7a7472a /OpenSim/Region/Environment/Scenes | |
parent | Add copyright headers. Minor formatting cleanup. (diff) | |
download | opensim-SC-6caebb6c932c6404e3e07aab43ae9ae21edfffde.zip opensim-SC-6caebb6c932c6404e3e07aab43ae9ae21edfffde.tar.gz opensim-SC-6caebb6c932c6404e3e07aab43ae9ae21edfffde.tar.bz2 opensim-SC-6caebb6c932c6404e3e07aab43ae9ae21edfffde.tar.xz |
* refactor: Establish an IEntityInventory interface for SceneObjectPartInventory.cs and expose that from SceneObjectPart rather than the original object
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index 712cbac..bfb8b98 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |||
@@ -147,7 +147,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
147 | /// This part's inventory | 147 | /// This part's inventory |
148 | /// </summary> | 148 | /// </summary> |
149 | [XmlIgnore] | 149 | [XmlIgnore] |
150 | public readonly SceneObjectPartInventory Inventory; | 150 | public readonly IEntityInventory Inventory; |
151 | 151 | ||
152 | [XmlIgnore] | 152 | [XmlIgnore] |
153 | public bool Undoing = false; | 153 | public bool Undoing = false; |
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs index aff1ef1..82a89df 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs | |||
@@ -38,7 +38,7 @@ using OpenSim.Region.Environment.Scenes.Scripting; | |||
38 | 38 | ||
39 | namespace OpenSim.Region.Environment.Scenes | 39 | namespace OpenSim.Region.Environment.Scenes |
40 | { | 40 | { |
41 | public class SceneObjectPartInventory | 41 | public class SceneObjectPartInventory : IEntityInventory |
42 | { | 42 | { |
43 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 43 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
44 | 44 | ||