diff options
author | Teravus Ovares | 2008-12-26 22:04:25 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-12-26 22:04:25 +0000 |
commit | 013b87fad18074e804ba529f9d3893e459ead99f (patch) | |
tree | 8e858f2be50c93530f1a41e070cac33c42728b25 /OpenSim | |
parent | * Applying Nlin's NINJA Joint patch. v2. Mantis# 2874 (diff) | |
download | opensim-SC_OLD-013b87fad18074e804ba529f9d3893e459ead99f.zip opensim-SC_OLD-013b87fad18074e804ba529f9d3893e459ead99f.tar.gz opensim-SC_OLD-013b87fad18074e804ba529f9d3893e459ead99f.tar.bz2 opensim-SC_OLD-013b87fad18074e804ba529f9d3893e459ead99f.tar.xz |
* Fixes missing sculpt texture assets from oar files as detailed on mantis 2971 by thomax
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs index 9cf6bf5..58e8f55 100644 --- a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs +++ b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs | |||
@@ -205,6 +205,8 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver | |||
205 | // Get the prim's default texture. This will be used for faces which don't have their own texture | 205 | // Get the prim's default texture. This will be used for faces which don't have their own texture |
206 | assetUuids[textureEntry.DefaultTexture.TextureID] = 1; | 206 | assetUuids[textureEntry.DefaultTexture.TextureID] = 1; |
207 | 207 | ||
208 | if (part.Shape.SculptTexture != UUID.Zero) | ||
209 | assetUuids[part.Shape.SculptTexture] = 1; | ||
208 | // XXX: Not a great way to iterate through face textures, but there's no | 210 | // XXX: Not a great way to iterate through face textures, but there's no |
209 | // other method available to tell how many faces there actually are | 211 | // other method available to tell how many faces there actually are |
210 | //int i = 0; | 212 | //int i = 0; |