aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Agent/AssetTransaction
diff options
context:
space:
mode:
authorSean Dague2008-05-21 20:18:40 +0000
committerSean Dague2008-05-21 20:18:40 +0000
commit9389429ed3de0c67e8e708a34c3820ff4f9e8ca0 (patch)
tree11819e3770ba083baa441c04851a4ad22869c5b7 /OpenSim/Region/Environment/Modules/Agent/AssetTransaction
parentthis removes use of the mapper for wearables, and I can confirm things (diff)
downloadopensim-SC-9389429ed3de0c67e8e708a34c3820ff4f9e8ca0.zip
opensim-SC-9389429ed3de0c67e8e708a34c3820ff4f9e8ca0.tar.gz
opensim-SC-9389429ed3de0c67e8e708a34c3820ff4f9e8ca0.tar.bz2
opensim-SC-9389429ed3de0c67e8e708a34c3820ff4f9e8ca0.tar.xz
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.
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Agent/AssetTransaction')
-rw-r--r--OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AgentAssetsTransactions.cs2
1 files changed, 2 insertions, 0 deletions
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
347 347
348 if (asset != null && asset.FullID == assetID) 348 if (asset != null && asset.FullID == assetID)
349 { 349 {
350 // Assets never get updated, new ones get created
351 asset.FullID = LLUUID.Random();
350 asset.Name = item.Name; 352 asset.Name = item.Name;
351 asset.Description = item.Description; 353 asset.Description = item.Description;
352 asset.InvType = (sbyte) item.InvType; 354 asset.InvType = (sbyte) item.InvType;