From 013b87fad18074e804ba529f9d3893e459ead99f Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Fri, 26 Dec 2008 22:04:25 +0000 Subject: [PATCH] * Fixes missing sculpt texture assets from oar files as detailed on mantis 2971 by thomax --- .../Modules/World/Archiver/ArchiveWriteRequestPreparation.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs index 9cf6bf5813..58e8f55974 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 // Get the prim's default texture. This will be used for faces which don't have their own texture assetUuids[textureEntry.DefaultTexture.TextureID] = 1; + if (part.Shape.SculptTexture != UUID.Zero) + assetUuids[part.Shape.SculptTexture] = 1; // XXX: Not a great way to iterate through face textures, but there's no // other method available to tell how many faces there actually are //int i = 0;