summaryrefslogtreecommitdiff
path: root/indra/newview/llfloateroutbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfloateroutbox.cpp')
-rwxr-xr-xindra/newview/llfloateroutbox.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/indra/newview/llfloateroutbox.cpp b/indra/newview/llfloateroutbox.cpp
index 2ed4605e0c..d9bc3a1ce0 100755
--- a/indra/newview/llfloateroutbox.cpp
+++ b/indra/newview/llfloateroutbox.cpp
@@ -743,12 +743,15 @@ void LLFloaterMarketplaceListings::onOpen(const LLSD& key)
for (LLInventoryModel::cat_array_t::iterator iter = cats->begin(); iter != cats->end(); iter++, index++)
{
LLViewerInventoryCategory* category = *iter;
- LLMarketplaceData::instance().addTestItem(category->getUUID());
- if (index%2)
+ if (index%3)
{
- LLMarketplaceData::instance().setListingID(category->getUUID(),"TestingID1234");
+ LLMarketplaceData::instance().addTestItem(category->getUUID());
+ if (index%3 == 1)
+ {
+ LLMarketplaceData::instance().setListingID(category->getUUID(),"TestingID1234");
+ }
+ LLMarketplaceData::instance().setActivation(category->getUUID(),(index%2));
}
- LLMarketplaceData::instance().setActivation(category->getUUID(),(index%3 == 0));
}
}