diff options
author | Melanie | 2010-12-21 20:47:00 +0000 |
---|---|---|
committer | Melanie | 2010-12-21 20:49:31 +0000 |
commit | 043dace1184b14c1b07863c2ffabaf5e24fb53c4 (patch) | |
tree | 694712bc17b61db47a6a2033de4b17d46894ac96 /OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs | |
parent | Shooting in the dark for solutions to the appearance problem (diff) | |
download | opensim-SC-043dace1184b14c1b07863c2ffabaf5e24fb53c4.zip opensim-SC-043dace1184b14c1b07863c2ffabaf5e24fb53c4.tar.gz opensim-SC-043dace1184b14c1b07863c2ffabaf5e24fb53c4.tar.bz2 opensim-SC-043dace1184b14c1b07863c2ffabaf5e24fb53c4.tar.xz |
Make prim inventories a bit more sane
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs index a86223c..982e280 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs | |||
@@ -81,49 +81,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
81 | } | 81 | } |
82 | 82 | ||
83 | /// <summary> | 83 | /// <summary> |
84 | /// | ||
85 | /// </summary> | ||
86 | /// <param name="remoteClient"></param> | ||
87 | /// <param name="localID"></param> | ||
88 | public bool GetPartInventoryFileName(IClientAPI remoteClient, uint localID) | ||
89 | { | ||
90 | SceneObjectPart part = GetChildPart(localID); | ||
91 | if (part != null) | ||
92 | { | ||
93 | return part.Inventory.GetInventoryFileName(remoteClient, localID); | ||
94 | } | ||
95 | else | ||
96 | { | ||
97 | m_log.ErrorFormat( | ||
98 | "[PRIM INVENTORY]: " + | ||
99 | "Couldn't find part {0} in object group {1}, {2} to retreive prim inventory", | ||
100 | localID, Name, UUID); | ||
101 | } | ||
102 | return false; | ||
103 | } | ||
104 | |||
105 | /// <summary> | ||
106 | /// Return serialized inventory metadata for the given constituent prim | ||
107 | /// </summary> | ||
108 | /// <param name="localID"></param> | ||
109 | /// <param name="xferManager"></param> | ||
110 | public void RequestInventoryFile(IClientAPI client, uint localID, IXfer xferManager) | ||
111 | { | ||
112 | SceneObjectPart part = GetChildPart(localID); | ||
113 | if (part != null) | ||
114 | { | ||
115 | part.Inventory.RequestInventoryFile(client, xferManager); | ||
116 | } | ||
117 | else | ||
118 | { | ||
119 | m_log.ErrorFormat( | ||
120 | "[PRIM INVENTORY]: " + | ||
121 | "Couldn't find part {0} in object group {1}, {2} to request inventory data", | ||
122 | localID, Name, UUID); | ||
123 | } | ||
124 | } | ||
125 | |||
126 | /// <summary> | ||
127 | /// Add an inventory item to a prim in this group. | 84 | /// Add an inventory item to a prim in this group. |
128 | /// </summary> | 85 | /// </summary> |
129 | /// <param name="remoteClient"></param> | 86 | /// <param name="remoteClient"></param> |