diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/UuidGatherer.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/UuidGatherer.cs | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/OpenSim/Region/Framework/Scenes/UuidGatherer.cs b/OpenSim/Region/Framework/Scenes/UuidGatherer.cs index 25bbd3a..d8928ee 100644 --- a/OpenSim/Region/Framework/Scenes/UuidGatherer.cs +++ b/OpenSim/Region/Framework/Scenes/UuidGatherer.cs | |||
@@ -120,53 +120,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
120 | /// <param name="uuid">UUID.</param> | 120 | /// <param name="uuid">UUID.</param> |
121 | public bool AddForInspection(UUID uuid) | 121 | public bool AddForInspection(UUID uuid) |
122 | { | 122 | { |
123 | <<<<<<< HEAD | ||
124 | if (m_assetUuidsToInspect.Contains(uuid)) | 123 | if (m_assetUuidsToInspect.Contains(uuid)) |
125 | return false; | 124 | return false; |
126 | 125 | ||
127 | // m_log.DebugFormat("[UUID GATHERER]: Adding asset {0} for inspection", uuid); | 126 | // m_log.DebugFormat("[UUID GATHERER]: Adding asset {0} for inspection", uuid); |
128 | 127 | ||
129 | m_assetUuidsToInspect.Enqueue(uuid); | 128 | m_assetUuidsToInspect.Enqueue(uuid); |
130 | ======= | ||
131 | try | ||
132 | { | ||
133 | assetUuids[assetUuid] = assetType; | ||
134 | |||
135 | if ((sbyte)AssetType.Bodypart == assetType || (sbyte)AssetType.Clothing == assetType) | ||
136 | { | ||
137 | GetWearableAssetUuids(assetUuid, assetUuids); | ||
138 | } | ||
139 | else if ((sbyte)AssetType.Gesture == assetType) | ||
140 | { | ||
141 | GetGestureAssetUuids(assetUuid, assetUuids); | ||
142 | } | ||
143 | else if ((sbyte)AssetType.Notecard == assetType) | ||
144 | { | ||
145 | GetTextEmbeddedAssetUuids(assetUuid, assetUuids); | ||
146 | } | ||
147 | else if ((sbyte)AssetType.LSLText == assetType) | ||
148 | { | ||
149 | GetTextEmbeddedAssetUuids(assetUuid, assetUuids); | ||
150 | } | ||
151 | else if ((sbyte)OpenSimAssetType.Material == assetType) | ||
152 | { | ||
153 | GetMaterialAssetUuids(assetUuid, assetUuids); | ||
154 | } | ||
155 | else if ((sbyte)AssetType.Object == assetType) | ||
156 | { | ||
157 | GetSceneObjectAssetUuids(assetUuid, assetUuids); | ||
158 | } | ||
159 | } | ||
160 | catch (Exception) | ||
161 | { | ||
162 | m_log.ErrorFormat( | ||
163 | "[UUID GATHERER]: Failed to gather uuids for asset id {0}, type {1}", | ||
164 | assetUuid, assetType); | ||
165 | throw; | ||
166 | } | ||
167 | } | ||
168 | >>>>>>> avn/ubitvar | ||
169 | |||
170 | return true; | 129 | return true; |
171 | } | 130 | } |
172 | 131 | ||