diff options
author | Merov Linden <merov@lindenlab.com> | 2013-11-26 16:33:45 -0800 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2013-11-26 16:33:45 -0800 |
commit | 1cee31191c049011d0894763044cdcd7b85c00bf (patch) | |
tree | 246fa967e191087b10b02a05419c47f651a7fe4b /indra | |
parent | f0cbf849acd19e7c380b1b720b7f57a9bb9261c2 (diff) |
MAINT-3319 : Fix the purge of descendents of a category. Note: the cached number of descendents is not always reliable
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/newview/llinventorymodel.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/indra/newview/llinventorymodel.cpp b/indra/newview/llinventorymodel.cpp index 3c4c16a438..ed7fd3cd34 100755 --- a/indra/newview/llinventorymodel.cpp +++ b/indra/newview/llinventorymodel.cpp @@ -1268,12 +1268,6 @@ void LLInventoryModel::updateLinkedObjectsFromPurge(const LLUUID &baseobj_id) // folders, items, etc in a fairly efficient manner. void LLInventoryModel::purgeDescendentsOf(const LLUUID& id) { - EHasChildren children = categoryHasChildren(id); - if(children == CHILDREN_NO) - { - llinfos << "Not purging descendents of " << id << llendl; - return; - } LLPointer<LLViewerInventoryCategory> cat = getCategory(id); if (cat.notNull()) { |