diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2013-11-04 11:54:08 -0500 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2013-11-04 11:54:08 -0500 |
commit | 72097affb53b8c8aa28e029eba0033630bca41b0 (patch) | |
tree | 3e65037b802d0ff63d9d394582211748cf21c753 /indra/newview/llpanelplaces.cpp | |
parent | 8188a8c410807debd2d7d40d0299c36b92e56ca3 (diff) | |
parent | 49956093db3ada36c04d01b905883067301a449a (diff) |
merge
Diffstat (limited to 'indra/newview/llpanelplaces.cpp')
-rwxr-xr-x | indra/newview/llpanelplaces.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/indra/newview/llpanelplaces.cpp b/indra/newview/llpanelplaces.cpp index 730df2ea23..8cd54204e8 100755 --- a/indra/newview/llpanelplaces.cpp +++ b/indra/newview/llpanelplaces.cpp @@ -168,8 +168,7 @@ public: protected: /*virtual*/ void done() { - mPlaces->showAddedLandmarkInfo(mAdded); - mAdded.clear(); + mPlaces->showAddedLandmarkInfo(gInventory.getAddedIDs()); } private: @@ -1100,9 +1099,9 @@ void LLPanelPlaces::changedGlobalPos(const LLVector3d &global_pos) updateVerbs(); } -void LLPanelPlaces::showAddedLandmarkInfo(const uuid_vec_t& items) +void LLPanelPlaces::showAddedLandmarkInfo(const uuid_set_t& items) { - for (uuid_vec_t::const_iterator item_iter = items.begin(); + for (uuid_set_t::const_iterator item_iter = items.begin(); item_iter != items.end(); ++item_iter) { |