diff options
author | Melanie | 2012-09-14 00:14:39 +0200 |
---|---|---|
committer | Melanie | 2012-09-14 00:14:39 +0200 |
commit | 45fe25de0d9636690114091565775d264a0ca96f (patch) | |
tree | 51e30c40aee3dd388d35e07c979f26e8c6e404f3 /OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps | |
parent | Wait longer for arrival cofirmation to aid tps into laggy regions (diff) | |
download | opensim-SC-45fe25de0d9636690114091565775d264a0ca96f.zip opensim-SC-45fe25de0d9636690114091565775d264a0ca96f.tar.gz opensim-SC-45fe25de0d9636690114091565775d264a0ca96f.tar.bz2 opensim-SC-45fe25de0d9636690114091565775d264a0ca96f.tar.xz |
Allow some more connections to try to ease lag.
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs index 88957ff..580c005 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | |||
@@ -467,6 +467,8 @@ namespace OpenSim.Region.ClientStack.Linden | |||
467 | 467 | ||
468 | if (llsdRequest.asset_type == "mesh") | 468 | if (llsdRequest.asset_type == "mesh") |
469 | { | 469 | { |
470 | cost += 20; // Constant for now to test showing a price | ||
471 | |||
470 | if (llsdRequest.asset_resources == null) | 472 | if (llsdRequest.asset_resources == null) |
471 | { | 473 | { |
472 | client.SendAgentAlertMessage("Unable to upload asset. missing information.", false); | 474 | client.SendAgentAlertMessage("Unable to upload asset. missing information.", false); |
@@ -480,7 +482,7 @@ namespace OpenSim.Region.ClientStack.Linden | |||
480 | uint textures_cost = (uint)llsdRequest.asset_resources.texture_list.Array.Count; | 482 | uint textures_cost = (uint)llsdRequest.asset_resources.texture_list.Array.Count; |
481 | textures_cost *= (uint)mm.UploadCharge; | 483 | textures_cost *= (uint)mm.UploadCharge; |
482 | 484 | ||
483 | cost = textures_cost; | 485 | cost += textures_cost; |
484 | } | 486 | } |
485 | else | 487 | else |
486 | { | 488 | { |