summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerwindow.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-02-23 16:59:14 -0600
committerDave Parks <davep@lindenlab.com>2010-02-23 16:59:14 -0600
commit31e4b6e79ccd0a0451de3fa6a487f775d9f45497 (patch)
tree9aba3bb8fdaed33cf65f398e4ba0668746418cf6 /indra/newview/llviewerwindow.cpp
parent891403ea9c0160502f1f164e661b3022d02076bf (diff)
parent066f9de07ecfcf142103f646695e5be63a22a667 (diff)
merge
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-rw-r--r--indra/newview/llviewerwindow.cpp20
1 files changed, 18 insertions, 2 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp
index 99172d46ff..6bdb322c09 100644
--- a/indra/newview/llviewerwindow.cpp
+++ b/indra/newview/llviewerwindow.cpp
@@ -31,7 +31,6 @@
*/
#include "llviewerprecompiledheaders.h"
-
#include "llviewerwindow.h"
#if LL_WINDOWS
@@ -45,6 +44,7 @@
#include <algorithm>
#include "llfloaterreg.h"
+#include "llmeshrepository.h"
#include "llpanellogin.h"
#include "llviewerkeyboard.h"
#include "llviewermenu.h"
@@ -318,7 +318,7 @@ public:
mTextColor = LLColor4( 0.86f, 0.86f, 0.86f, 1.f );
// Draw stuff growing up from right lower corner of screen
- U32 xpos = mWindow->getWindowWidthScaled() - 350;
+ U32 xpos = mWindow->getWorldViewWidthScaled() - 350;
U32 ypos = 64;
const U32 y_inc = 20;
@@ -583,6 +583,22 @@ public:
ypos += y_inc;
}
}
+
+ //temporary hack to give feedback on mesh upload progress
+ if (!gMeshRepo.mUploads.empty())
+ {
+ for (std::vector<LLMeshUploadThread*>::iterator iter = gMeshRepo.mUploads.begin();
+ iter != gMeshRepo.mUploads.end(); ++iter)
+ {
+ LLMeshUploadThread* thread = *iter;
+
+ addText(xpos, ypos, llformat("Mesh Upload -- price quote: %d:%d | upload: %d:%d | create: %d",
+ thread->mPendingConfirmations, thread->mUploadQ.size(),
+ thread->mPendingUploads, thread->mConfirmedQ.size(),
+ thread->mCompletedQ.size()));
+ ypos += y_inc;
+ }
+ }
}
void draw()