aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/MeshCost.cs
diff options
context:
space:
mode:
authorubit2012-09-24 23:58:44 +0200
committerubit2012-09-24 23:58:44 +0200
commitde77bf7c5b3b95f53f2341df245f7678115ceb00 (patch)
tree9a5787deccdf818a8f9f04e25a3f6d6e6e02f4f3 /OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/MeshCost.cs
parentMerge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork (diff)
parent more upload changes (plus untouch prebuild.xml) (diff)
downloadopensim-SC-de77bf7c5b3b95f53f2341df245f7678115ceb00.zip
opensim-SC-de77bf7c5b3b95f53f2341df245f7678115ceb00.tar.gz
opensim-SC-de77bf7c5b3b95f53f2341df245f7678115ceb00.tar.bz2
opensim-SC-de77bf7c5b3b95f53f2341df245f7678115ceb00.tar.xz
Merge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/MeshCost.cs')
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/MeshCost.cs13
1 files changed, 5 insertions, 8 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/MeshCost.cs b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/MeshCost.cs
index 66bb429..4a3fae6 100644
--- a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/MeshCost.cs
+++ b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/MeshCost.cs
@@ -35,18 +35,15 @@ namespace OpenSim.Region.ClientStack.Linden
35 // fees are normalized to 1.0 35 // fees are normalized to 1.0
36 // this parameters scale them to basic cost ( so 1.0 translates to 10 ) 36 // this parameters scale them to basic cost ( so 1.0 translates to 10 )
37 37
38 public float ModelMeshCostFactor = 0f; //Free 38 public float ModelMeshCostFactor = 0.0f; // scale total cost relative to basic (excluding textures)
39 public float ModelMinCostFactor = 0f; // Free 39 public float ModelTextureCostFactor = 1.0f; // scale textures fee to basic.
40 //public float ModelMeshCostFactor = 1.0f; // scale total cost relative to basic (excluding textures) 40 public float ModelMinCostFactor = 0.0f; // 0.5f; // minimum total model free excluding textures
41 //public float ModelMinCostFactor = 0.5f; // minimum total model free excluding textures
42 41
43 public float ModelTextureCostFactor = 1.00f; // keep full price because texture price
44 // is based on it's storage needs not on usability
45 // itens costs in normalized values 42 // itens costs in normalized values
46 // ie will be multiplied by basicCost and factors above 43 // ie will be multiplied by basicCost and factors above
47 const float primCreationCost = 0.002f; // extra cost for each prim creation overhead 44 public float primCreationCost = 0.002f; // extra cost for each prim creation overhead
48 // weigthed size to normalized cost 45 // weigthed size to normalized cost
49 const float bytecost = 1e-5f; 46 public float bytecost = 1e-5f;
50 47
51 // mesh upload fees based on compressed data sizes 48 // mesh upload fees based on compressed data sizes
52 // several data sections are counted more that once 49 // several data sections are counted more that once