diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim.RegionServer/AgentAssetUpload.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim.RegionServer/AgentAssetUpload.cs b/OpenSim.RegionServer/AgentAssetUpload.cs index bf8531a..f6b388d 100644 --- a/OpenSim.RegionServer/AgentAssetUpload.cs +++ b/OpenSim.RegionServer/AgentAssetUpload.cs | |||
@@ -84,14 +84,14 @@ namespace OpenSim | |||
84 | 84 | ||
85 | 85 | ||
86 | } | 86 | } |
87 | else if (pack.AssetBlock.Type == 13 | pack.AssetBlock.Type == 5) | 87 | else if (pack.AssetBlock.Type == 13 | pack.AssetBlock.Type == 5 | pack.AssetBlock.Type == 7) |
88 | { | 88 | { |
89 | 89 | ||
90 | asset = new AssetBase(); | 90 | asset = new AssetBase(); |
91 | asset.FullID = assetID; | 91 | asset.FullID = assetID; |
92 | // Console.WriteLine("skin asset id is " + assetID.ToStringHyphenated()); | 92 | // Console.WriteLine("skin asset id is " + assetID.ToStringHyphenated()); |
93 | asset.Type = pack.AssetBlock.Type; | 93 | asset.Type = pack.AssetBlock.Type; |
94 | asset.InvType = asset.Type; | 94 | asset.InvType = asset.Type ; |
95 | asset.Name = "NewClothing" + Util.RandomClass.Next(1, 1000).ToString("000"); | 95 | asset.Name = "NewClothing" + Util.RandomClass.Next(1, 1000).ToString("000"); |
96 | asset.Data = pack.AssetBlock.AssetData; | 96 | asset.Data = pack.AssetBlock.AssetData; |
97 | 97 | ||