From 013b87fad18074e804ba529f9d3893e459ead99f Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Fri, 26 Dec 2008 22:04:25 +0000 Subject: * 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(+) (limited to 'OpenSim/Region/Environment') 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 // 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; -- cgit v1.1