aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-06-03 17:17:24 +0000
committerJustin Clarke Casey2008-06-03 17:17:24 +0000
commit48322cec9696a14e96c38916d6d03b6b5949e2bb (patch)
treefed29246845bbd3c5a58489c3ba16a0adcffb709 /OpenSim/Region
parent* Change single assets/ archiver directory to be textures/ instead (diff)
downloadopensim-SC_OLD-48322cec9696a14e96c38916d6d03b6b5949e2bb.zip
opensim-SC_OLD-48322cec9696a14e96c38916d6d03b6b5949e2bb.tar.gz
opensim-SC_OLD-48322cec9696a14e96c38916d6d03b6b5949e2bb.tar.bz2
opensim-SC_OLD-48322cec9696a14e96c38916d6d03b6b5949e2bb.tar.xz
* experimental: archive out and reload textures within a prim's inventory
* no other prim items are archived yet
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequest.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequest.cs b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequest.cs
index 41bde40..1cc8877 100644
--- a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequest.cs
+++ b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequest.cs
@@ -89,6 +89,15 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver
89 textureUuids[texture.TextureID] = 1; 89 textureUuids[texture.TextureID] = 1;
90 } 90 }
91 } 91 }
92
93 foreach (TaskInventoryItem tit in part.TaskInventory.Values)
94 {
95 if (tit.Type == (int)InventoryType.Texture)
96 {
97 m_log.DebugFormat("[ARCHIVER]: Recording texture {0} in object {1}", tit.AssetID, part.UUID);
98 textureUuids[tit.AssetID] = 1;
99 }
100 }
92 } 101 }
93 } 102 }
94 } 103 }