Change to no longer check funds on temp texture uploads.
This fixes the "no funds" message on rebake.0.6.0-stable
parent
d2d9808742
commit
bfc911f814
|
@ -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>();
|
||||||
|
|
Loading…
Reference in New Issue