diff options
author | Justin Clarke Casey | 2008-06-03 17:17:24 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-06-03 17:17:24 +0000 |
commit | 48322cec9696a14e96c38916d6d03b6b5949e2bb (patch) | |
tree | fed29246845bbd3c5a58489c3ba16a0adcffb709 | |
parent | * Change single assets/ archiver directory to be textures/ instead (diff) | |
download | opensim-SC-48322cec9696a14e96c38916d6d03b6b5949e2bb.zip opensim-SC-48322cec9696a14e96c38916d6d03b6b5949e2bb.tar.gz opensim-SC-48322cec9696a14e96c38916d6d03b6b5949e2bb.tar.bz2 opensim-SC-48322cec9696a14e96c38916d6d03b6b5949e2bb.tar.xz |
* experimental: archive out and reload textures within a prim's inventory
* no other prim items are archived yet
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequest.cs | 9 |
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 | } |