Fixed 2K textures having - upload cost in OpenSim

master
Hecklezz 2025-06-09 06:05:59 +10:00
parent eb9b1fc58f
commit 744d3dddf3
1 changed files with 4 additions and 1 deletions

View File

@ -305,7 +305,10 @@ S32 LLAgentBenefits::get2KTextureUploadCost(S32 area) const
{
if (m_2k_texture_upload_cost.empty())
{
return m_texture_upload_cost;
// <FS:Ansariel> OpenSim legacy economy
//return m_texture_upload_cost;
return LLGridManager::instance().isInSecondLife() ? m_texture_upload_cost : LLGlobalEconomy::instance().getPriceUpload();
// </FS:Ansariel>
}
return m_2k_texture_upload_cost[0];
}