diff options
author | Melanie Thielker | 2008-08-23 16:43:34 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-08-23 16:43:34 +0000 |
commit | bfc911f814815afd5117b9dcc9f476233429e347 (patch) | |
tree | de5cb0aeb29c82fd11b3be081cdd81821fd27ca5 /OpenSim/Region/Environment/Modules | |
parent | Thank you, salahzar, for a patch that adds llGetNumberOfSides and will (diff) | |
download | opensim-SC_OLD-bfc911f814815afd5117b9dcc9f476233429e347.zip opensim-SC_OLD-bfc911f814815afd5117b9dcc9f476233429e347.tar.gz opensim-SC_OLD-bfc911f814815afd5117b9dcc9f476233429e347.tar.bz2 opensim-SC_OLD-bfc911f814815afd5117b9dcc9f476233429e347.tar.xz |
Change to no longer check funds on temp texture uploads.
This fixes the "no funds" message on rebake.
Diffstat (limited to 'OpenSim/Region/Environment/Modules')
-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>(); |