diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AssetTransactionModule.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AssetTransactionModule.cs b/OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AssetTransactionModule.cs index d5e4df7..b1cbdcc 100644 --- a/OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AssetTransactionModule.cs +++ b/OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AssetTransactionModule.cs | |||
@@ -262,10 +262,11 @@ namespace OpenSim.Region.Environment.Modules.Agent.AssetTransaction | |||
262 | public void HandleUDPUploadRequest(IClientAPI remoteClient, LLUUID assetID, LLUUID transaction, sbyte type, | 262 | public void HandleUDPUploadRequest(IClientAPI remoteClient, LLUUID assetID, LLUUID transaction, sbyte type, |
263 | byte[] data, bool storeLocal, bool tempFile) | 263 | byte[] data, bool storeLocal, bool tempFile) |
264 | { | 264 | { |
265 | if ((AssetType)type == AssetType.Texture || | 265 | if (((AssetType)type == AssetType.Texture || |
266 | (AssetType)type == AssetType.Sound || | 266 | (AssetType)type == AssetType.Sound || |
267 | (AssetType)type == AssetType.TextureTGA || | 267 | (AssetType)type == AssetType.TextureTGA || |
268 | (AssetType)type == AssetType.Animation) | 268 | (AssetType)type == AssetType.Animation) && |
269 | tempFile == false) | ||
269 | { | 270 | { |
270 | Scene scene = (Scene)remoteClient.Scene; | 271 | Scene scene = (Scene)remoteClient.Scene; |
271 | IMoneyModule mm = scene.RequestModuleInterface<IMoneyModule>(); | 272 | IMoneyModule mm = scene.RequestModuleInterface<IMoneyModule>(); |