clear baked flag on uploaded npc baked. This may cause issues on older grids (test)

master
UbitUmarov 2020-04-28 20:41:47 +01:00
parent 3482259518
commit f9e3c9adab
1 changed files with 2 additions and 0 deletions

View File

@ -309,8 +309,10 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
// 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.Description ="NPC BAKED";
asset.Temporary = false;
asset.Local = false;
asset.Flags &= ~AssetFlags.AvatarBake; // this can cause issues on older grids
m_scene.AssetService.Store(asset);
}