aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/UuidGatherer.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-02-02 02:57:38 +0000
committerJustin Clark-Casey (justincc)2013-02-02 02:57:38 +0000
commit9822bb664b58693790201606126e3fd26f7a4d52 (patch)
tree4acb0d5a5f569192de99b605b19dc77e5f0a7184 /OpenSim/Region/Framework/Scenes/UuidGatherer.cs
parentCorrect spelling mistake in new RayFilterFlags, LSLPhanton -> LSLPhantom (diff)
downloadopensim-SC_OLD-9822bb664b58693790201606126e3fd26f7a4d52.zip
opensim-SC_OLD-9822bb664b58693790201606126e3fd26f7a4d52.tar.gz
opensim-SC_OLD-9822bb664b58693790201606126e3fd26f7a4d52.tar.bz2
opensim-SC_OLD-9822bb664b58693790201606126e3fd26f7a4d52.tar.xz
Log missing assets on "fcache assets" found. This ignores references found by scanning LSL/notecard files since these are the source of false positives.
This also changes UuidGatherer to reutn an AssetType.Unknown for embedded script/lsl references instead of Texture, since these are often not textures. This is added to help people in determining when they have missing assets such as textures, etc. In this case, one wants to run "fcache clear" first.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/UuidGatherer.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/UuidGatherer.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/UuidGatherer.cs b/OpenSim/Region/Framework/Scenes/UuidGatherer.cs
index e238d01..c7cec41 100644
--- a/OpenSim/Region/Framework/Scenes/UuidGatherer.cs
+++ b/OpenSim/Region/Framework/Scenes/UuidGatherer.cs
@@ -131,7 +131,10 @@ namespace OpenSim.Region.Framework.Scenes
131 /// within this object). 131 /// within this object).
132 /// </remarks> 132 /// </remarks>
133 /// <param name="sceneObject">The scene object for which to gather assets</param> 133 /// <param name="sceneObject">The scene object for which to gather assets</param>
134 /// <param name="assetUuids">The assets gathered</param> 134 /// <param name="assetUuids">
135 /// A dictionary which is populated with the asset UUIDs gathered and the type of that asset.
136 /// For assets where the type is not clear (e.g. UUIDs extracted from LSL and notecards), the type is Unknown.
137 /// </param>
135 public void GatherAssetUuids(SceneObjectGroup sceneObject, IDictionary<UUID, AssetType> assetUuids) 138 public void GatherAssetUuids(SceneObjectGroup sceneObject, IDictionary<UUID, AssetType> assetUuids)
136 { 139 {
137// m_log.DebugFormat( 140// m_log.DebugFormat(
@@ -262,7 +265,7 @@ namespace OpenSim.Region.Framework.Scenes
262// m_log.DebugFormat("[ARCHIVER]: Recording {0} in text", uuid); 265// m_log.DebugFormat("[ARCHIVER]: Recording {0} in text", uuid);
263 266
264 // Assume AssetIDs embedded are textures. 267 // Assume AssetIDs embedded are textures.
265 assetUuids[uuid] = AssetType.Texture; 268 assetUuids[uuid] = AssetType.Unknown;
266 } 269 }
267 } 270 }
268 } 271 }