From 9389429ed3de0c67e8e708a34c3820ff4f9e8ca0 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Wed, 21 May 2008 20:18:40 +0000 Subject: Clean out some crufty in AvatarFactoryModule Fix RequestUpdateInventoryItem so that asset changes generate a new asset, which is needed for editing appearance to do the right thing. Persistant appearance seems to work after this, except you need to rebake textures some times. --- .../Modules/Agent/AssetTransaction/AgentAssetsTransactions.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'OpenSim/Region/Environment/Modules/Agent/AssetTransaction') diff --git a/OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AgentAssetsTransactions.cs b/OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AgentAssetsTransactions.cs index 81e19e6..f2185ab 100644 --- a/OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AgentAssetsTransactions.cs +++ b/OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AgentAssetsTransactions.cs @@ -347,6 +347,8 @@ namespace OpenSim.Region.Environment.Modules.Agent.AssetTransaction if (asset != null && asset.FullID == assetID) { + // Assets never get updated, new ones get created + asset.FullID = LLUUID.Random(); asset.Name = item.Name; asset.Description = item.Description; asset.InvType = (sbyte) item.InvType; -- cgit v1.1