summaryrefslogtreecommitdiff
path: root/indra/newview/lloutfitgallery.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2019-11-14 15:01:50 +0000
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2019-11-14 15:01:50 +0000
commit7df0a4ddd0c48358e7152733aaba01464f2620be (patch)
treee556c0150e21ffbcfec0b1a901d62e3f8451576f /indra/newview/lloutfitgallery.cpp
parentb3b103efe59c347a7268d820876888fe9297d7dd (diff)
SL-10499, SL-10497 - use LLAgentBenefits info
Diffstat (limited to 'indra/newview/lloutfitgallery.cpp')
-rw-r--r--indra/newview/lloutfitgallery.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/lloutfitgallery.cpp b/indra/newview/lloutfitgallery.cpp
index b2b6de94b3..8f5626bd7a 100644
--- a/indra/newview/lloutfitgallery.cpp
+++ b/indra/newview/lloutfitgallery.cpp
@@ -36,6 +36,7 @@
#include "llaccordionctrltab.h"
#include "llappearancemgr.h"
+#include "llagentbenefits.h"
#include "lleconomy.h"
#include "llerror.h"
#include "llfilepicker.h"
@@ -1205,7 +1206,7 @@ void LLOutfitGallery::uploadOutfitImage(const std::vector<std::string>& filename
return;
}
- S32 expected_upload_cost = LLGlobalEconomy::getInstance()->getPriceUpload(); // kinda hack - assumes that unsubclassed LLFloaterNameDesc is only used for uploading chargeable assets, which it is right now (it's only used unsubclassed for the sound upload dialog, and THAT should be a subclass).
+ S32 expected_upload_cost = LLAgentBenefits::instance().getTextureUploadCost();
void *nruserdata = NULL;
nruserdata = (void *)&outfit_id;