aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie Thielker2008-08-23 16:43:34 +0000
committerMelanie Thielker2008-08-23 16:43:34 +0000
commitbfc911f814815afd5117b9dcc9f476233429e347 (patch)
treede5cb0aeb29c82fd11b3be081cdd81821fd27ca5 /OpenSim
parentThank you, salahzar, for a patch that adds llGetNumberOfSides and will (diff)
downloadopensim-SC-bfc911f814815afd5117b9dcc9f476233429e347.zip
opensim-SC-bfc911f814815afd5117b9dcc9f476233429e347.tar.gz
opensim-SC-bfc911f814815afd5117b9dcc9f476233429e347.tar.bz2
opensim-SC-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')
-rw-r--r--OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AssetTransactionModule.cs5
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>();