diff options
author | Merov Linden <merov@lindenlab.com> | 2014-07-04 16:24:52 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2014-07-04 16:24:52 -0700 |
commit | cec79bdb29ac5438c9b9bb0312b4981116f17f61 (patch) | |
tree | 709c8c147e1d7f11593f1960e69848d0518fea1c | |
parent | 9a5ebdb1af723eed134d9e4e7ef4c7219a45f27b (diff) |
DD-152 : Fixed. Update all the descendent of a marketplace folder when moving it out of the marketplace
-rwxr-xr-x | indra/newview/llinventoryfunctions.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp index 63b1fa78fc..e31a6c8976 100755 --- a/indra/newview/llinventoryfunctions.cpp +++ b/indra/newview/llinventoryfunctions.cpp @@ -182,6 +182,11 @@ void update_marketplace_category(const LLUUID& cur_uuid, bool perform_consistenc LL_INFOS("SLM") << "Disassociate as the listing folder is not under the marketplace folder anymore!!" << LL_ENDL; LLMarketplaceData::instance().clearListing(cur_uuid); } + // Update all descendents if this is a category + if (gInventory.getCategory(cur_uuid)) + { + update_marketplace_folder_hierarchy(cur_uuid); + } } return; |