On baked texture save, replace any HG ID with an ordinary asset ID so the HGAssetBroker doesn't try to save back to the avatar's originating region

0.7.4-extended
Justin Clark-Casey (justincc) 2013-01-10 01:45:56 +00:00
parent 83c70dc914
commit d43863af78
1 changed files with 3 additions and 0 deletions

View File

@ -262,6 +262,9 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
if (asset != null)
{
// Replace an HG ID with the simple asset ID so that we can persist textures for foreign HG avatars
asset.ID = asset.FullID.ToString();
asset.Temporary = false;
asset.Local = false;
m_scene.AssetService.Store(asset);