diff options
author | Jacek Antonelli | 2009-04-06 01:29:22 -0500 |
---|---|---|
committer | Jacek Antonelli | 2009-04-06 01:29:22 -0500 |
commit | e06d504a68a72c321794b5e8740ccefcc45f654b (patch) | |
tree | 24d844d82b77957e763e6bc9a3103e29aa77f5f3 /linden/indra/newview/llcompilequeue.cpp | |
parent | Apply saved MediaDebugLevel at media init time. (diff) | |
parent | Cleaned up logic for bad streams (diff) | |
download | meta-impy-e06d504a68a72c321794b5e8740ccefcc45f654b.zip meta-impy-e06d504a68a72c321794b5e8740ccefcc45f654b.tar.gz meta-impy-e06d504a68a72c321794b5e8740ccefcc45f654b.tar.bz2 meta-impy-e06d504a68a72c321794b5e8740ccefcc45f654b.tar.xz |
Merge commit 'mccabe/gst-revamp' into gst-revamp
Diffstat (limited to 'linden/indra/newview/llcompilequeue.cpp')
-rw-r--r-- | linden/indra/newview/llcompilequeue.cpp | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/linden/indra/newview/llcompilequeue.cpp b/linden/indra/newview/llcompilequeue.cpp index fc2742f..b4f1a22 100644 --- a/linden/indra/newview/llcompilequeue.cpp +++ b/linden/indra/newview/llcompilequeue.cpp | |||
@@ -59,6 +59,7 @@ | |||
59 | #include "llfloaterchat.h" | 59 | #include "llfloaterchat.h" |
60 | #include "llviewerstats.h" | 60 | #include "llviewerstats.h" |
61 | #include "lluictrlfactory.h" | 61 | #include "lluictrlfactory.h" |
62 | #include "llselectmgr.h" | ||
62 | 63 | ||
63 | ///---------------------------------------------------------------------------- | 64 | ///---------------------------------------------------------------------------- |
64 | /// Local function declarations, constants, enums, and typedefs | 65 | /// Local function declarations, constants, enums, and typedefs |
@@ -194,7 +195,20 @@ BOOL LLFloaterScriptQueue::start() | |||
194 | { | 195 | { |
195 | //llinfos << "LLFloaterCompileQueue::start()" << llendl; | 196 | //llinfos << "LLFloaterCompileQueue::start()" << llendl; |
196 | std::string buffer; | 197 | std::string buffer; |
197 | buffer = llformat("Starting %s of %d items.", mStartString.c_str(), mObjectIDs.count()); // *TODO: Translate | 198 | |
199 | LLSelectMgr *mgr = LLSelectMgr::getInstance(); | ||
200 | LLObjectSelectionHandle selectHandle = mgr->getSelection(); | ||
201 | U32 n_objects = 0; | ||
202 | if (gSavedSettings.getBOOL("EditLinkedParts")) | ||
203 | { | ||
204 | n_objects = selectHandle->getObjectCount(); | ||
205 | } | ||
206 | else | ||
207 | { | ||
208 | n_objects = selectHandle->getRootObjectCount(); | ||
209 | } | ||
210 | |||
211 | buffer = llformat("Starting %s of %d items.", mStartString.c_str(), n_objects); // *TODO: Translate | ||
198 | 212 | ||
199 | LLScrollListCtrl* list = getChild<LLScrollListCtrl>("queue output"); | 213 | LLScrollListCtrl* list = getChild<LLScrollListCtrl>("queue output"); |
200 | list->addCommentText(buffer); | 214 | list->addCommentText(buffer); |