diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-09-01 12:02:48 -0400 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-09-01 12:02:48 -0400 |
commit | 0440fe4dccc44c9474c1ee05c506370350b94320 (patch) | |
tree | adeb1c23e200e83c552a74940847b47e4e84e2e4 /indra/newview/llappearancemgr.cpp | |
parent | 7be968ec0b0c76eb2c999a1165fa87799f79d95e (diff) |
VWR-22695 FIXED Adding attachments messaging is inefficient
Single attachment request are now batched up and sent all at once as a single message.
Diffstat (limited to 'indra/newview/llappearancemgr.cpp')
-rw-r--r-- | indra/newview/llappearancemgr.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp index 7159d89d21..ed5e8ceee3 100644 --- a/indra/newview/llappearancemgr.cpp +++ b/indra/newview/llappearancemgr.cpp @@ -31,6 +31,7 @@ #include "llagentcamera.h" #include "llagentwearables.h" #include "llappearancemgr.h" +#include "llattachmentsmgr.h" #include "llcommandhandler.h" #include "lleventtimer.h" #include "llgesturemgr.h" @@ -2644,6 +2645,8 @@ LLAppearanceMgr::LLAppearanceMgr(): mUnlockOutfitTimer.reset(new LLOutfitUnLockTimer(gSavedSettings.getS32( "OutfitOperationsTimeout"))); + + gIdleCallbacks.addFunction(&LLAttachmentsMgr::onIdle,NULL); } LLAppearanceMgr::~LLAppearanceMgr() |