aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llcompilequeue.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-03-04 12:50:59 -0700
committerMcCabe Maxsted2009-03-04 12:50:59 -0700
commitf3de7ecf37cd83c23d15ea12e112be9600e33ece (patch)
treeadac53f3d9b87bd87fd081b1722781d071c8ebff /linden/indra/newview/llcompilequeue.cpp
parentBackported fix for VWR-6744 (No way to hide IMs in chat console) (diff)
parentApplied my patch for VWR-8454 (PARCEL_FLAG_ALLOW_CREATE_GROUP_OBJECTS not hig... (diff)
downloadmeta-impy-f3de7ecf37cd83c23d15ea12e112be9600e33ece.zip
meta-impy-f3de7ecf37cd83c23d15ea12e112be9600e33ece.tar.gz
meta-impy-f3de7ecf37cd83c23d15ea12e112be9600e33ece.tar.bz2
meta-impy-f3de7ecf37cd83c23d15ea12e112be9600e33ece.tar.xz
Merge branch 'cvpatches' into next
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);