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
parent
84407e322f
commit
170d376967
|
@ -287,6 +287,9 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
|
||||||
|
|
||||||
if (asset != null)
|
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.Temporary = false;
|
||||||
asset.Local = false;
|
asset.Local = false;
|
||||||
m_scene.AssetService.Store(asset);
|
m_scene.AssetService.Store(asset);
|
||||||
|
|
Loading…
Reference in New Issue