* Fixes missing sculpt texture assets from oar files as detailed on mantis 2971 by thomax

0.6.2-post-fixes
Teravus Ovares 2008-12-26 22:04:25 +00:00
parent ec2dc354b4
commit 013b87fad1
1 changed files with 2 additions and 0 deletions

View File

@ -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;