diff options
author | Oz Linden <oz@lindenlab.com> | 2011-01-07 16:44:38 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-01-07 16:44:38 -0500 |
commit | 8a939212f4afef41c83cc35a14d7f2c2ee3ce6ba (patch) | |
tree | 5df698253963026fe43bb19f69507d4528c539dd /indra/newview/llfavoritesbar.cpp | |
parent | 346082965ac922a90f7c24bd97be807906b6a35f (diff) | |
parent | c132d20a7433e2d09e3521a15497f661fcbd18b8 (diff) |
merge changes for storm-826
Diffstat (limited to 'indra/newview/llfavoritesbar.cpp')
-rw-r--r-- | indra/newview/llfavoritesbar.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llfavoritesbar.cpp b/indra/newview/llfavoritesbar.cpp index 0c0fdd5572..0b17d64eb0 100644 --- a/indra/newview/llfavoritesbar.cpp +++ b/indra/newview/llfavoritesbar.cpp @@ -607,6 +607,15 @@ void LLFavoritesBarCtrl::changed(U32 mask) } else { + LLInventoryModel::item_array_t items; + LLInventoryModel::cat_array_t cats; + LLIsType is_type(LLAssetType::AT_LANDMARK); + gInventory.collectDescendentsIf(mFavoriteFolderId, cats, items, LLInventoryModel::EXCLUDE_TRASH, is_type); + + for (LLInventoryModel::item_array_t::iterator i = items.begin(); i != items.end(); ++i) + { + (*i)->getSLURL(); + } updateButtons(); } } |