Fixed previous compile error -- I haven't pushed the CreatorID in AssetBase yet...

viewer-2-initial-appearance
Diva Canto 2010-12-08 19:37:35 -08:00
parent 0f240a9f7c
commit 90bcfefe09
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ namespace OpenSim.Region.CoreModules.Avatar.ObjectCaps
}
else
{
AssetBase newTexture = new AssetBase(texture.ID + "-" + format, texture.Name, (sbyte)AssetType.Texture, texture.CreatorID);
AssetBase newTexture = new AssetBase(texture.ID + "-" + format, texture.Name, (sbyte)AssetType.Texture, texture.Metadata.CreatorID);
newTexture.Data = ConvertTextureData(texture, format);
if (newTexture.Data.Length == 0)
return false; // !!! Caller try another codec, please!