Change to no longer check funds on temp texture uploads.

This fixes the "no funds" message on rebake.
0.6.0-stable
Melanie Thielker 2008-08-23 16:43:34 +00:00
parent d2d9808742
commit bfc911f814
1 changed files with 3 additions and 2 deletions

View File

@ -262,10 +262,11 @@ namespace OpenSim.Region.Environment.Modules.Agent.AssetTransaction
public void HandleUDPUploadRequest(IClientAPI remoteClient, LLUUID assetID, LLUUID transaction, sbyte type, public void HandleUDPUploadRequest(IClientAPI remoteClient, LLUUID assetID, LLUUID transaction, sbyte type,
byte[] data, bool storeLocal, bool tempFile) byte[] data, bool storeLocal, bool tempFile)
{ {
if ((AssetType)type == AssetType.Texture || if (((AssetType)type == AssetType.Texture ||
(AssetType)type == AssetType.Sound || (AssetType)type == AssetType.Sound ||
(AssetType)type == AssetType.TextureTGA || (AssetType)type == AssetType.TextureTGA ||
(AssetType)type == AssetType.Animation) (AssetType)type == AssetType.Animation) &&
tempFile == false)
{ {
Scene scene = (Scene)remoteClient.Scene; Scene scene = (Scene)remoteClient.Scene;
IMoneyModule mm = scene.RequestModuleInterface<IMoneyModule>(); IMoneyModule mm = scene.RequestModuleInterface<IMoneyModule>();