aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llcompilequeue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llcompilequeue.cpp')
-rw-r--r--linden/indra/newview/llcompilequeue.cpp16
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);