summaryrefslogtreecommitdiff
path: root/indra/newview/llgesturemgr.cpp
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2010-04-06 18:58:26 -0400
committerLoren Shih <seraph@lindenlab.com>2010-04-06 18:58:26 -0400
commitf096f02278f3b8c8fdd962c85b237492defa93ec (patch)
treea1016d9087ba0bad73895dee4280a195a0c01f0e /indra/newview/llgesturemgr.cpp
parentc3d9316dff568d5265d856a708e3909deae09f18 (diff)
EXT-6728 : Have LLInventoryFetchItems/DescendentsObserver inherit from a base abstract LLInventoryFetchObserver class
Added a new abstract class LLInventoryFetchObserver from which LLInventoryFetchItems and LLInventoryFetchDescendents inherit. Also changed isEverythingComplete to isFinished and made some other minor superficial changes.
Diffstat (limited to 'indra/newview/llgesturemgr.cpp')
-rw-r--r--indra/newview/llgesturemgr.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/newview/llgesturemgr.cpp b/indra/newview/llgesturemgr.cpp
index 034806acfc..3d38ff3730 100644
--- a/indra/newview/llgesturemgr.cpp
+++ b/indra/newview/llgesturemgr.cpp
@@ -1031,9 +1031,7 @@ void LLGestureMgr::onLoadComplete(LLVFS *vfs,
else
{
// Watch this item and set gesture name when item exists in inventory
- uuid_vec_t ids;
- ids.push_back(item_id);
- self.setItems(ids);
+ self.setFetchID(item_id);
self.startFetch();
}
self.mActive[item_id] = gesture;