aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs
index 0a69979..ce79f07 100644
--- a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs
@@ -287,6 +287,9 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
287 287
288 if (asset != null) 288 if (asset != null)
289 { 289 {
290 // Replace an HG ID with the simple asset ID so that we can persist textures for foreign HG avatars
291 asset.ID = asset.FullID.ToString();
292
290 asset.Temporary = false; 293 asset.Temporary = false;
291 asset.Local = false; 294 asset.Local = false;
292 m_scene.AssetService.Store(asset); 295 m_scene.AssetService.Store(asset);