diff options
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequest.cs | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequest.cs b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequest.cs index c9a7f07..86ee753 100644 --- a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequest.cs +++ b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequest.cs | |||
@@ -77,8 +77,17 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver | |||
77 | 77 | ||
78 | foreach (SceneObjectPart part in sceneObject.GetParts()) | 78 | foreach (SceneObjectPart part in sceneObject.GetParts()) |
79 | { | 79 | { |
80 | LLUUID texture = new LLUUID(part.Shape.TextureEntry, 0); | 80 | // XXX: Not a great way to iterate through face textures, but there's no |
81 | textureUuids[texture] = 1; | 81 | // other way to tell how many faces there actually are |
82 | //int i = 0; | ||
83 | foreach (LLObject.TextureEntryFace texture in part.Shape.Textures.FaceTextures) | ||
84 | { | ||
85 | if (texture != null) | ||
86 | { | ||
87 | //m_log.DebugFormat("[ARCHIVER]: Got face {0}", i++); | ||
88 | textureUuids[texture.TextureID] = 1; | ||
89 | } | ||
90 | } | ||
82 | } | 91 | } |
83 | } | 92 | } |
84 | } | 93 | } |