aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden')
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/MeshCost.cs16
1 files changed, 1 insertions, 15 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/MeshCost.cs b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/MeshCost.cs
index 0b5d3fa..622a2d9 100644
--- a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/MeshCost.cs
+++ b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/MeshCost.cs
@@ -42,10 +42,6 @@ namespace OpenSim.Region.ClientStack.Linden
42 const float physMeshSizeWth = 6f; // counts 7x 42 const float physMeshSizeWth = 6f; // counts 7x
43 const float physHullSizeWth = 8f; // counts 9x 43 const float physHullSizeWth = 8f; // counts 9x
44 44
45 // price compression to promote complex meshs
46 const float feeCompressionBase = 50.0f; // transition from linear to log cost
47 const float feeCompressionScale = 250.0f; // 10000 scales to 1000
48
49 // stream cost size factors 45 // stream cost size factors
50 const float highLodFactor = 17.36f; 46 const float highLodFactor = 17.36f;
51 const float midLodFactor = 277.78f; 47 const float midLodFactor = 277.78f;
@@ -373,17 +369,7 @@ namespace OpenSim.Region.ClientStack.Linden
373 369
374 // bytes to money 370 // bytes to money
375 sfee *= bytecost; 371 sfee *= bytecost;
376 372
377 // fee compression
378 if (sfee > feeCompressionBase)
379 {
380 sfee -= feeCompressionBase;
381 sfee = feeCompressionScale * (float)Math.Log10((double)sfee);
382 sfee += feeCompressionBase;
383 }
384
385
386
387 cost.costFee = sfee; 373 cost.costFee = sfee;
388 return true; 374 return true;
389 } 375 }