Upload Cost
- OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs
- MeshModelCost() で計算.(ModelMeshCostFactor が掛けられる)
- OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/MeshCost.cs
- MeshModelCost() で計算.(ModelMeshCostFactor が掛けられる)
- BunchOfCaps()
if (EconomyConfig != null) { modelUploadFactor = EconomyConfig.GetFloat("MeshModelUploadCostFactor", modelUploadFactor); modelTextureUploadFactor = EconomyConfig.GetFloat("MeshModelUploadTextureCostFactor", modelTextureUploadFactor); modelMinUploadCostFactor = EconomyConfig.GetFloat("MeshModelMinCostFactor", modelMinUploadCostFactor); // next 2 are normalized so final cost is afected by modelUploadFactor above and normal cost modelPrimCreationCost = EconomyConfig.GetFloat("ModelPrimCreationCost", modelPrimCreationCost); modelMeshByteCost = EconomyConfig.GetFloat("ModelMeshByteCost", modelMeshByteCost); m_enableModelUploadTextureToInventory = EconomyConfig.GetBoolean("MeshModelAllowTextureToInventory", m_enableModelUploadTextureToInventory); m_RestrictFreeTestUploadPerms = EconomyConfig.GetBoolean("m_RestrictFreeTestUploadPerms", m_RestrictFreeTestUploadPerms); m_enableFreeTestUpload = EconomyConfig.GetBoolean("AllowFreeTestUpload", m_enableFreeTestUpload); m_ForceFreeTestUpload = EconomyConfig.GetBoolean("ForceFreeTestUpload", m_ForceFreeTestUpload); string testcreator = EconomyConfig.GetString("TestAssetsCreatorID", ""); if (testcreator != "") { UUID id; UUID.TryParse(testcreator, out id); if (id != null) m_testAssetsCreatorID = id; } m_ModelCost.ModelMeshCostFactor = modelUploadFactor; m_ModelCost.ModelTextureCostFactor = modelTextureUploadFactor; m_ModelCost.ModelMinCostFactor = modelMinUploadCostFactor; m_ModelCost.primCreationCost = modelPrimCreationCost; m_ModelCost.bytecost = modelMeshByteCost; }
- BunchOfCaps()
Counter: 972,
today: 1,
yesterday: 0
最終更新: 2016-07-26 (火) 02:36:49 (JST) (3058d) by iseki